|
|
|
@ -23,19 +23,19 @@
|
|
|
|
|
delegate_to: "{{ physical_host }}"
|
|
|
|
|
register: out
|
|
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
|
that: |
|
|
|
|
|
out.result == [
|
|
|
|
|
- assert_equal:
|
|
|
|
|
left: out.result
|
|
|
|
|
right: [
|
|
|
|
|
{
|
|
|
|
|
'kwargs': {
|
|
|
|
|
'check_host_keys': 'ignore',
|
|
|
|
|
'connect_timeout': 10,
|
|
|
|
|
'hostname': 'alias-host',
|
|
|
|
|
'identities_only': False,
|
|
|
|
|
'identity_file': None,
|
|
|
|
|
'password': None,
|
|
|
|
|
'port': None,
|
|
|
|
|
'python_path': None,
|
|
|
|
|
'identity_file': null,
|
|
|
|
|
'password': null,
|
|
|
|
|
'port': null,
|
|
|
|
|
'python_path': null,
|
|
|
|
|
'ssh_args': [
|
|
|
|
|
'-o',
|
|
|
|
|
'ForwardAgent=yes',
|
|
|
|
@ -44,9 +44,9 @@
|
|
|
|
|
'-o',
|
|
|
|
|
'ControlPersist=60s',
|
|
|
|
|
],
|
|
|
|
|
'ssh_debug_level': None,
|
|
|
|
|
'ssh_debug_level': null,
|
|
|
|
|
'ssh_path': 'ssh',
|
|
|
|
|
'username': 'alias-user',
|
|
|
|
|
'username': 'alias-userx',
|
|
|
|
|
},
|
|
|
|
|
'method': 'ssh',
|
|
|
|
|
},
|
|
|
|
@ -56,10 +56,10 @@
|
|
|
|
|
'connect_timeout': 10,
|
|
|
|
|
'hostname': 'cd-normal-alias',
|
|
|
|
|
'identities_only': False,
|
|
|
|
|
'identity_file': None,
|
|
|
|
|
'password': None,
|
|
|
|
|
'port': None,
|
|
|
|
|
'python_path': None,
|
|
|
|
|
'identity_file': null,
|
|
|
|
|
'password': null,
|
|
|
|
|
'port': null,
|
|
|
|
|
'python_path': null,
|
|
|
|
|
'ssh_args': [
|
|
|
|
|
'-o',
|
|
|
|
|
'ForwardAgent=yes',
|
|
|
|
@ -68,9 +68,9 @@
|
|
|
|
|
'-o',
|
|
|
|
|
'ControlPersist=60s',
|
|
|
|
|
],
|
|
|
|
|
'ssh_debug_level': None,
|
|
|
|
|
'ssh_debug_level': null,
|
|
|
|
|
'ssh_path': 'ssh',
|
|
|
|
|
'username': None,
|
|
|
|
|
'username': null,
|
|
|
|
|
},
|
|
|
|
|
'method': 'ssh',
|
|
|
|
|
}
|
|
|
|
|