You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
971 B
YAML
38 lines
971 B
YAML
# issue #251: local_action with mitogen_via= builds wrong stack.
|
|
|
|
- name: integration/connection_delegation/local_action.yml
|
|
hosts: cd-newuser-normal-normal
|
|
tasks:
|
|
- include_tasks: ../_mitogen_only.yml
|
|
|
|
- local_action: mitogen_get_stack
|
|
become: true
|
|
register: out
|
|
|
|
- assert_equal:
|
|
left: out.result
|
|
right: [
|
|
{
|
|
'kwargs': {
|
|
'python_path': ["{{ansible_playbook_python}}"],
|
|
},
|
|
'method': 'local',
|
|
},
|
|
{
|
|
'enable_lru': true,
|
|
'kwargs': {
|
|
'connect_timeout': 30,
|
|
'python_path': ["{{ansible_playbook_python}}"],
|
|
'remote_name': null,
|
|
'password': null,
|
|
'username': 'root',
|
|
'sudo_path': 'sudo',
|
|
'sudo_args': ['-H', '-S', '-n'],
|
|
},
|
|
'method': 'sudo',
|
|
}
|
|
]
|
|
tags:
|
|
- local_action
|
|
- mitogen_only
|