-
Notifications
You must be signed in to change notification settings - Fork 5
/
ansible.cfg
56 lines (37 loc) · 1.12 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
[defaults]
## Customize this!
inventory = inventory.ini
transport = ssh
# disable SSH key host checking
host_key_checking = False
# gathering = smart
gathering = explicit
fact_caching = jsonfile
fact_caching_connection = fact_files
retry_files_save_path = retry_files
#remote_tmp = /tmp/ansible
# for slow connections
timeout = 10
gather_subset = network,hardware
# if ssh port is not 22
#remote_port = 22
# for fun
# cow_selection = random
stdout_callback = skippy
# log information about executions at the designated location
log_path = log/ansible.log
deprecation_warnings = False
callback_whitelist = help
[ssh_connection]
## AWS key connection
# ssh_args = -i aws.key -C -o ControlMaster=auto -o ControlPersist=60s
## Jumper host connection
# ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s -o ProxyCommand="ssh user@host -p 22 nc %h %p"
## Default
# ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s
## Use custom ssh config file
# ssh_args = -F ssh_config
#scp_if_ssh = True
# close when using a jumper host, or have TTY errors
# Ubuntu is OK, while CentOS may cause errors
# pipelining = True