saibotk
c2842b0f5b
This fixes the warnings for the sftp transfer mechanism failing, when sftp is disabled on all hosts using the ssh hardening role. This should usually be covered with the scp_if_ssh option but it seems like this option is ignored on newer Ansible versions. Which sadly was not mentioned in any changelog :(
16 lines
384 B
INI
16 lines
384 B
INI
[defaults]
|
|
roles_path = ./roles:~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
|
|
inventory = ./inventory
|
|
retry_files_enabled = false
|
|
vault_password_file = .vault_pass
|
|
|
|
[ssh_connection]
|
|
scp_if_ssh = true
|
|
transfer_method = scp
|
|
|
|
[privilege_escalation]
|
|
become_ask_pass = false
|
|
|
|
[galaxy]
|
|
role_skeleton = ./.ansible/skeleton/default
|
|
role_skeleton_ignore = ^.git$,^.*/.git_keep$
|