-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathansible.cfg
48 lines (40 loc) · 1.38 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
[defaults]
#--- General settings
nocows = True
forks = 8
module_name = command
deprecation_warnings = True
executable = /bin/bash
stdout_callback = yaml
#--- Files/Directory settings
log_path = ~/ansible.log
inventory = ~/$DOTFILES_DIR/playbooks/inventory
library = /usr/share/my_modules
remote_tmp = /tmp
local_tmp = /tmp/.ansible
roles_path = ~/$DOTFILES_DIR/playbooks/roles
retry_files_enabled = False
#--- Fact Caching settings
fact_caching = jsonfile
fact_caching_connection = ~/.ansible/facts_cache
fact_caching_timeout = 7200
force_valid_group_names = ignore
#--- Speed
callback_enabled = true
internal_poll_interval = 0.001
#--- Plugin settings
vars_plugins_enabled = host_group_vars,community.sops.sops
[inventory]
unparsed_is_failed = true
[privilege_escalation]
become = True
become_method = sudo
become_user = root
[ssh_connection]
scp_if_ssh = smart
transfer_method = smart
retries = 3
timeout = 10
ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o Compression=yes -o ServerAliveInterval=15s
pipelining = True
control_path = %(directory)s/%%h-%%r