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.
mitogen/tests/ansible/integration/connection_delegation/local_action.yml

35 lines
836 B
YAML

# issue #251: local_action with mitogen_via= builds wrong stack.
- hosts: cd-newuser-normal-normal
tasks:
- meta: end_play
when: not is_mitogen
- 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': 10,
'python_path': ["{{ansible_playbook_python}}"],
'password': null,
'username': 'root',
'sudo_path': null,
'sudo_args': ['-H', '-S', '-n'],
},
'method': 'sudo',
}
]