2017-05-16 20:42:39 +08:00
|
|
|
# Comments inside this file must be set BEFORE the option.
|
|
|
|
# NOT after the option, otherwise the comment will be interpreted as a value to that option.
|
|
|
|
|
2014-05-11 09:52:26 +08:00
|
|
|
[defaults]
|
2014-10-10 21:41:31 +08:00
|
|
|
ansible_managed = Please do not change this file directly since it is managed by Ansible and will be overwritten
|
2019-02-19 00:38:35 +08:00
|
|
|
library = ./library
|
2020-11-05 18:05:34 +08:00
|
|
|
module_utils = ./module_utils
|
2015-12-16 23:11:14 +08:00
|
|
|
action_plugins = plugins/actions
|
2018-03-13 19:30:09 +08:00
|
|
|
callback_plugins = plugins/callback
|
2019-08-15 01:14:09 +08:00
|
|
|
filter_plugins = plugins/filter
|
2016-10-26 00:27:49 +08:00
|
|
|
roles_path = ./roles
|
2017-04-25 16:10:09 +08:00
|
|
|
# Be sure the user running Ansible has permissions on the logfile
|
2019-01-17 06:40:27 +08:00
|
|
|
log_path = $HOME/ansible/ansible.log
|
2017-05-11 14:57:53 +08:00
|
|
|
|
2018-12-14 18:14:30 +08:00
|
|
|
forks = 20
|
2018-03-08 23:54:43 +08:00
|
|
|
host_key_checking = False
|
|
|
|
gathering = smart
|
|
|
|
fact_caching = jsonfile
|
|
|
|
fact_caching_connection = $HOME/ansible/facts
|
2019-02-06 15:32:04 +08:00
|
|
|
fact_caching_timeout = 7200
|
2018-03-08 23:54:43 +08:00
|
|
|
nocows = 1
|
2022-05-25 02:43:05 +08:00
|
|
|
callback_allowlist = profile_tasks
|
2018-12-14 18:14:30 +08:00
|
|
|
stdout_callback = yaml
|
2020-09-24 09:51:56 +08:00
|
|
|
force_valid_group_names = ignore
|
2021-03-11 23:43:53 +08:00
|
|
|
inject_facts_as_vars = False
|
2018-03-08 23:54:43 +08:00
|
|
|
|
2017-06-22 21:55:19 +08:00
|
|
|
# Disable them in the context of https://review.openstack.org/#/c/469644
|
|
|
|
retry_files_enabled = False
|
|
|
|
|
2017-09-06 17:25:47 +08:00
|
|
|
# This is the default SSH timeout to use on connection attempts
|
|
|
|
# CI slaves are slow so by setting a higher value we can avoid the following error:
|
|
|
|
# Timeout (12s) waiting for privilege escalation prompt:
|
2018-06-07 03:59:47 +08:00
|
|
|
timeout = 60
|
2017-09-06 17:25:47 +08:00
|
|
|
|
2017-05-11 14:57:53 +08:00
|
|
|
[ssh_connection]
|
2017-05-16 20:39:03 +08:00
|
|
|
# see: https://github.com/ansible/ansible/issues/11536
|
2017-05-31 00:25:29 +08:00
|
|
|
control_path = %(directory)s/%%h-%%r-%%p
|
2019-12-10 00:10:11 +08:00
|
|
|
ssh_args = -o ControlMaster=auto -o ControlPersist=600s
|
2018-12-14 18:14:30 +08:00
|
|
|
pipelining = True
|
2018-01-23 21:38:35 +08:00
|
|
|
|
|
|
|
# Option to retry failed ssh executions if the failure is encountered in ssh itself
|
2018-06-07 03:59:47 +08:00
|
|
|
retries = 10
|