forked from mageops/ansible-infrastructure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ansible.cfg
50 lines (38 loc) · 1.55 KB
/
ansible.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[defaults]
ansible_python_interpreter = python
remote_user = root
host_key_checking = no
retry_files_enabled = no
forks = 20
internal_poll_interval = 0.001
stdout_callback = yaml
deprecation_warnings = yes
show_custom_stats = yes
display_failed_stderr = yes
display_ok_hosts = yes
display_skipped_hosts = yes
bin_ansible_callbacks = yes
# fact_caching = yaml
fact_caching_connection = tmp/fact_cache
fact_caching_timeout = 2700
fact_caching_prefix = mageops-facts
callback_whitelist = timer, profile_tasks
[callback_profile_tasks]
task_output_limit = 50
order = descending
[inventory]
enable_plugins = host_list, script, auto, yaml, ini, aws_ec2, constructed
cache = no
cache_plugin = yaml
cache_connection = tmp/inventory_cache
cache_timeout = 1800
cache_prefix = mageops-inventory
[ssh_connection]
pipelining = yes
control_path_dir = ~/.local/var/ssh
control_path = %(directory)s/%%C
ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o PreferredAuthentications=publickey -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
[persistent_connection]
command_timeout = 30
connect_timeout = 30
connect_retry_timeout = 30