-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathansible.cfg
25 lines (22 loc) · 887 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
[defaults]
inventory = hosts.yml
#stdout_callback = json
ansible_indent = 2
# unfortunate name, previously named human_log, much less verbose than default
stdout_callback = debug
roles_path = ./roles/:./private/roles/
playbook_dir = ./private/playbooks/
forks = 20
#internal_poll_interval = 0.5
max_diff_size = 104857600
ansible_managed = ansible_managed:{{{{ lookup('pipe', 'git rev-parse --show-toplevel')|basename }}}}/roles/{{{{ role_name }}}}/{{{{ template_path }}}}{{{{ lookup('pipe', 'git log -1 ' + template_fullpath|quote) | default(false, true) | ternary("", ",UNCOMITTED") }}}}
ansible_user = ansible
ansible_ssh_user = ansible
default_remote_user = ansible
[diff]
always = true
[ssh_connection]
remote_user = ansible
ssh_args = -o ControlMaster=auto -o ControlPersist=60m -o PreferredAuthentications=publickey
control_path = /tmp/ansible-ssh-%%h-%%p-%%r
pipelining = true