cd7381d8de
Ansible v2.9 and v2.10 are EOL as [1]. This drops those version supports by following the upstream Ansible. This sets use_ssh_args true always because that is required to use ssh_args on ansible.cfg on Ansible v2.11 or later[2]. ansible_ssh_host is replaced with ansible_host because ansible_ssh_host has been deprecated already and cenots7 jobs were failed due to the deprecated ansible_ssh_host. [1]: https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-changelogs [2]: https://docs.ansible.com/ansible/latest/collections/ansible/posix/synchronize_module.html#parameter-use_ssh_args
23 lines
879 B
INI
23 lines
879 B
INI
[ssh_connection]
|
|
pipelining=True
|
|
ansible_ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null
|
|
#control_path = ~/.ssh/ansible-%%r@%%h:%%p
|
|
[defaults]
|
|
# https://github.com/ansible/ansible/issues/56930 (to ignore group names with - and .)
|
|
force_valid_group_names = ignore
|
|
|
|
host_key_checking=False
|
|
gathering = smart
|
|
fact_caching = jsonfile
|
|
fact_caching_connection = /tmp
|
|
fact_caching_timeout = 7200
|
|
stdout_callback = default
|
|
display_skipped_hosts = no
|
|
library = ./library
|
|
callback_whitelist = profile_tasks,ara_default
|
|
roles_path = roles:$VIRTUAL_ENV/usr/local/share/kubespray/roles:$VIRTUAL_ENV/usr/local/share/ansible/roles:/usr/share/kubespray/roles
|
|
deprecation_warnings=False
|
|
inventory_ignore_extensions = ~, .orig, .bak, .ini, .cfg, .retry, .pyc, .pyo, .creds, .gpg
|
|
[inventory]
|
|
ignore_patterns = artifacts, credentials
|