File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 6464 __ssh_skip_defaults : " {{ ssh_skip_defaults if ssh_skip_defaults != 'auto'
6565 else (ssh_user is not none) or
6666 (ssh_drop_in_name is not none and __ssh_supports_drop_in) }}"
67- __ssh_config_file : " {{ ssh_config_file if ssh_config_file is not none
68- else ansible_facts['getent_passwd'][ssh_user][4] ~ '/.ssh/config'
69- if ssh_user is not none and ansible_facts['getent_passwd'] is defined
70- else __ssh_drop_in_template | replace('{name}', ssh_drop_in_name)
71- if ssh_drop_in_name is not none and __ssh_supports_drop_in
72- else '/etc/ssh/ssh_config' }}"
67+ __ssh_config_file : " {{ ssh_config_file
68+ if ssh_config_file is not none
69+ else
70+ ansible_facts['getent_passwd'][ssh_user][4] ~ '/.ssh/config'
71+ if ssh_user is not none and ansible_facts['getent_passwd'] is defined
72+ else
73+ __ssh_drop_in_template | replace('{name}', ssh_drop_in_name)
74+ if ssh_drop_in_name is not none and __ssh_supports_drop_in
75+ else '/etc/ssh/ssh_config' }}"
7376 __ssh_config_owner : " {{ ssh_config_owner if ssh_config_owner is not none
7477 else ssh_user if ssh_user is not none
7578 else 'root' }}"
You can’t perform that action at this time.
0 commit comments