-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathansible.cfg
More file actions
59 lines (48 loc) · 1.92 KB
/
ansible.cfg
File metadata and controls
59 lines (48 loc) · 1.92 KB
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
[defaults]
#--- General settings
nocows = True
forks = 8
module_name = command
deprecation_warnings = True
executable = /bin/bash
stdout_callback = ansible.builtin.default
pretty_results = True # nicer formatting with yaml/json
bin_ansible_callbacks = True # also affects ad-hoc commands
interpreter_python = auto_silent
#--- Files/Directory settings
log_path = /tmp/ansible.log
inventory = ./ansible/inventory
library = /usr/share/my_modules
remote_tmp = /tmp
local_tmp = /tmp/.ansible
# Collections: list base dirs (Ansible will look under each for ansible_collections/)
collections_path = ~/.venv/galaxy:./ansible/collections:~/.ansible/collections:/usr/share/ansible/collections
# Roles: list base dirs that directly contain roles
roles_path = ansible/roles:./ansible/roles:~/.venv/galaxy/ansible_roles:~/.ansible/roles:/usr/share/ansible/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
callbacks_enabled = ansible.posix.timer, ansible.posix.profile_tasks
internal_poll_interval = 0.001
#--- Plugin settings
vars_plugins_enabled = host_group_vars,community.sops.sops
[callback_default]
result_format = yaml
[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=15
pipelining = True
control_path = %(directory)s/%%h-%%r