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.
35 lines
781 B
YAML
35 lines
781 B
YAML
6 years ago
|
|
||
|
# 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': null
|
||
|
},
|
||
|
'method': 'local',
|
||
|
},
|
||
|
{
|
||
|
'enable_lru': true,
|
||
|
'kwargs': {
|
||
|
'connect_timeout': 10,
|
||
|
'python_path': null,
|
||
|
'password': null,
|
||
|
'username': 'root',
|
||
|
'sudo_path': null,
|
||
|
'sudo_args': ['-H', '-S', '-n'],
|
||
|
},
|
||
|
'method': 'sudo',
|
||
|
}
|
||
|
]
|