-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathansible.cfg
30 lines (25 loc) · 1.05 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
[defaults]
# General settings
stdout_callback = yaml
# File/Directory settings
log_path = ~/.ansible/ansible.log
inventory = ./ansible/inventory
roles_path = ~/.ansible/roles:./ansible/roles
collections_path = ~/.ansible/collections
remote_tmp = /tmp
local_tmp = ~/.ansible/tmp
# SSH settings
timeout = 60
host_key_checking = False
# Plugin settings
#vars_plugins_enabled = host_group_vars,community.sops.sops
[privilege_escalation]
become = True
[ssh_connection]
retries = 3
ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o Compression=yes -o ServerAliveInterval=15s
pipelining = True
control_path = %(directory)s/ansible-ssh-%%h-%%p-%%r
ansible_user = root
ansible_ssh_private_key_file = ~/.ssh/ansible
BECOME_ALLOW_SAME_USER = true