-
Notifications
You must be signed in to change notification settings - Fork 1
/
ansible.cfg
32 lines (26 loc) · 974 Bytes
/
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
[ssh_connection]
pipelining=True
ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o KbdInteractiveAuthentication=yes
[defaults]
remote_user = ubuntu
retry_files_enabled = False
log_path = ./ansible.log
host_key_checking=False
gathering = smart
fact_caching = jsonfile
fact_caching_connection = /tmp
stdout_callback = skippy
roles_path = roles:$VIRTUAL_ENV:$VIRTUAL_ENV/usr/local/share/ansible/roles
deprecation_warnings=False
inventory_ignore_extensions = ~, .orig, .bak, .ini, .cfg, .retry, .pyc, .pyo, .creds
inventory = production
# work around privilege escalation timeouts in ansible:
timeout = 30
[inventory]
ignore_patterns = artifacts, credentials
# fail more helpfully when the inventory file does not parse (Ansible 2.4+)
unparsed_is_failed=true
[privilege_escalation]
become=True
become_method=sudo
become_user=root