devops: add ansible config
This commit is contained in:
parent
09cc328000
commit
77a3b16c79
38
rootfs/root/.ansible
Normal file
38
rootfs/root/.ansible
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
[defaults]
|
||||||
|
timeout=120
|
||||||
|
fact_caching = jsonfile
|
||||||
|
fact_caching_connection = /tmp/ansible/facts-cache
|
||||||
|
fact_caching_timeout = 7200
|
||||||
|
|
||||||
|
# Performance
|
||||||
|
forks=512
|
||||||
|
internal_poll_interval = 0.01
|
||||||
|
|
||||||
|
any_errors_fatal = true
|
||||||
|
|
||||||
|
remote_user = root
|
||||||
|
host_key_checking = false
|
||||||
|
|
||||||
|
stdout_callback = unixy
|
||||||
|
callbacks_enabled = timer, profile_tasks, skippy, counter_enabled
|
||||||
|
callback_whitelist = timer, profile_tasks, log_plays, skippy, counter_enabled
|
||||||
|
|
||||||
|
action_warnings = false
|
||||||
|
command_warnings = false
|
||||||
|
deprecation_warnings = false
|
||||||
|
|
||||||
|
retry_files_save_path = /tmp/ansible/retry/
|
||||||
|
|
||||||
|
gathering = smart
|
||||||
|
pipelining = true
|
||||||
|
ansible_managed = "This file is managed by Ansible. Any modifications are subject to overwriting."
|
||||||
|
|
||||||
|
[callback_log_plays]
|
||||||
|
log_folder = /tmp/ansible/hosts
|
||||||
|
|
||||||
|
[ssh_connection]
|
||||||
|
|
||||||
|
# Performance
|
||||||
|
ssh_args = -C -A -o ControlMaster=auto -o ControlPersist=120s -o PreferredAuthentications=publickey -o ForwardAgent=yes
|
||||||
|
pipelining = true
|
||||||
|
retries=3
|
||||||
Loading…
x
Reference in New Issue
Block a user