Skip to content

Commit bf9d233

Browse files
committed
Add Ansible configuration file with default settings and logging options
1 parent 4aa8c5a commit bf9d233

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

src/ansible.cfg

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Ansible Configuration Files:
2+
# http://docs.ansible.com/ansible/latest/reference_appendices/config.html
3+
# https://github.com/ansible/ansible/blob/stable-2.9/examples/ansible.cfg
4+
# https://github.com/fdavis/ansible-best-practices/blob/master/ansible.cfg
5+
6+
[defaults]
7+
8+
display_skipped_hosts = False
9+
conditional_bare_variables = False
10+
interpreter_python = auto_silent
11+
callbacks_enabled = profile_tasks
12+
stdout_callback = yaml
13+
bin_ansible_callbacks = True
14+
host_key_checking = False
15+
error_on_undefined_vars = True
16+
library=modules
17+
module_utils=module_utils
18+
allow_world_readable_tmpfiles = True
19+
20+
[callback_log_plays]
21+
log_folder = /var/tmp/ansible/hosts
22+
log_path = /var/tmp/ansible/hosts
23+
24+
[connection]
25+
ssh_args=-C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=300 -o ControlPath=/tmp/ansible-ssh-%h-%p-%r

0 commit comments

Comments
 (0)