-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathansible.cfg
69 lines (55 loc) · 1.95 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# config file for ansible -- http://ansible.com/
# ==============================================
# nearly all parameters can be overridden in ansible-playbook
# or with command line flags. ansible will read ANSIBLE_CONFIG,
# ansible.cfg in the current working directory, .ansible.cfg in
# the home directory or /etc/ansible/ansible.cfg, whichever it
# finds first
[defaults]
# some basic default values...
home = $HOME/ansible-rams
inventory = $HOME/ansible-rams/inventory/hosts.yaml
playbooks_dir = $HOME/ansible-rams/playbooks
local_tmp = $HOME/ansible-rams/tmp
remote_tmp = $HOME/.ansible/tmp
forks = 10
transport = ssh
# plays will gather facts by default, which contain information about
# the remote system.
#
# 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 = smart
# additional paths to search for roles in, colon separated
# roles_path = $HOME/ansible-rams/roles
# uncomment this to disable SSH key host checking
#host_key_checking = False
# logging is off by default unless this path is defined
# if so defined, consider logrotate
log_path = $HOME/ansible-rams/logs/ansible.log
fact_caching = jsonfile
fact_caching_connection = $HOME/ansible-rams/facts
fact_caching_timeout = 600
# retry files
#retry_files_enabled = False
#retry_files_save_path = ~/.ansible/retry
[ssh_connection]
# ssh arguments to use
# Leaving off ControlPersist will result in poor performance, so use
# paramiko on older platforms rather than removing it
ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=2
[colors]
#highlight = bright white
#verbose = blue
#warn = bright purple
#error = red
#debug = dark gray
#deprecate = purple
#skip = cyan
#unreachable = bright red
#ok = bright green
#changed = yellow
#diff_add = green
#diff_remove = red
#diff_lines = cyan