devops: add ansible config

This commit is contained in:
UNLKD CICD 2024-11-29 10:00:06 -03:00
parent 09cc328000
commit 77a3b16c79

38
rootfs/root/.ansible Normal file
View 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