-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathansible.cfg
More file actions
35 lines (30 loc) · 1.85 KB
/
ansible.cfg
File metadata and controls
35 lines (30 loc) · 1.85 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
;------------------------------------------------------------------------------
; For all Ansible configuration options, see:
; https://docs.ansible.com/ansible/latest/reference_appendices/config.html
;
; ansible-config view ; show current Ansible configuration file
; ansible-config dump ; show all Ansible configuration variable values
; ansible-config list ; show all Ansible configuration variable options
; ansible-config init --disabled > ansible.cfg ; create Ansible config file
;------------------------------------------------------------------------------
[defaults]
enable_plugins = auto, yaml, host_list ; inventory plugins and order used
forks = 5 ; Concurrent processes allowed for hosts
host_key_checking = false ; Avoid SSH `known_hosts` key checking
interpreter_python = auto_silent ; Silence warning about Python environment
inventory = inventory ; Ansible host file(s) (/etc/ansible/hosts.yml)
# log_path = ./ansible.log ; Log file. Default: /var/log/ansible.log
stdout_callback = yaml ; Ansible output format: {default|minimal|yaml}
callbacks_enabled = ansible.posix.profile_tasks ; Show task execution times
force_color = true
[callback_profile_tasks]
task_output_limit = 1000 ; Default: 20
sort_order = none ; { descending (default) | ascending | none }
[persistent_connection]
connect_timeout = 90 ; Idle connection timeout. Default: 30s
command_timeout = 90 ; Per-command timeout. Default: 30s
[ssh_connection]
pipelining = True ; Improves performance; conflicts with `become`
force_handlers = True
[colors]
debug = white ; Options at https://docs.ansible.com/ansible/latest/reference_appendices/config.html#sts=COLOR_CHANGED%EF%83%81