-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathansible.cfg
39 lines (29 loc) · 1.03 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
31
32
33
34
35
36
37
38
39
[defaults]
inventory = inventory/inventory.ini
## Set output and diagnostic info
# same as --diff flag
diff_always = True
# make dry-runs obvious
check_mode_markers = True
# show only changes and errors, toggle these as needed
display_skipped_hosts = False
display_ok_hosts = False
# time playbook runs
callbacks_enabled = ansible.posix.timer, ansible.posix.profile_roles
# performance - pick either mitogen or pipelining
# 2023 update: Mitogen is not keeping pace with Ansible updates and may be a risky choice
#
# strategy_plugins = /<path/to>/mitogen-0.2.9/ansible_mitogen/plugins/strategy
# strategy = mitogen_linear
[ssh_connection]
pipelining = True
# set a project config file instead of setting Ansible variables
# leave `ssh_args` in place to retain performance defaults
# alternatively, set `-F 'none'` to avoid Ansible's default use of ~/.ssh/config
# to prevent accidents or surprises
ssh_common_args = -F .ssh/config
[colors]
diff_add = bright purple
diff_remove = bright yellow
force_color = True
# see README.md for documentation