-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathansible.cfg
48 lines (40 loc) · 1.46 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
# For a full list of available options, run ansible-config list or see the
# documentation: https://docs.ansible.com/ansible/latest/reference_appendices/config.html.
[defaults]
#inventory = /PLEASE_OVERRIDE_INVENTORY_-_SEE_README.md
cow_selection = random
# smart - gather by default, but don't regather if already gathered
# implicit - gather by default, turn off with gather_facts: False
# explicit - do not gather by default, must say gather_facts: True
gathering = implicit
# Paths to search for roles, colon separated
roles_path = roles
# Host key checking is enabled by default
host_key_checking = False
#remote_user = root
log_path = ansible.log
connection_plugins = connection_plugins
#lookup_plugins = lookup_plugins
# prevents logging of tasks, but only on the targets, data is still logged on the master/controller
no_target_syslog = True
# default timeout is 10
timeout = 90
# fact caching
fact_caching = jsonfile
fact_caching_connection = savedfacts
# run tasks on one host at a time
fork=1
[inventory]
# If 'True' unparsed inventory sources become fatal errors, otherwise they are warnings.
unparsed_is_failed = True
enable_plugins = yaml, ini
[privilege_escalation]
become = True
## Connection Plugins ##
[paramiko_connection]
[ssh_connection]
pipelining=True
#ssh_args = -o ControlMaster=auto -o ControlPersist=3600s -o PreferredAuthentications=publickey
ssh_args = -o ControlMaster=auto -o PreferredAuthentications=publickey
retries=2
[persistent_connection]