-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathansible.cfg
44 lines (33 loc) · 1.34 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
40
41
42
[defaults]
inventory = ./ansible/inventory
roles_path = ./ansible/roles
display_skipped_hosts = False
deprecation_warnings = False
# Defaults to python3 when available
interpreter_python = auto_silent
# Mandatory if you don't use ansible_user root and you use become with another user than root
# Example : SSH connection with smile, and become www-data
allow_world_readable_tmpfiles = True
# Custom Temp folder for ansible
# https://stackoverflow.com/a/42015069/9254063
remote_tmp = "/tmp/ansible-${USER}"
# Tweaks for readability and debug
callbacks_enabled = profile_tasks
stdout_callback = community.general.yaml
cow_selection = bunny
nocows = True
force_color = True
# Use the vault password file
# vault_password_file = ./.vault_pass
# Protect sensetive data
# no_log = True
[inventory]
enable_plugins = auto, yaml, kubernetes.core.k8s, ini
[ssh_connection]
# SSH CONFIG
# Use IP v4 and a custom ssh config file
ssh_args = -4 -F ./ssh.cfg
# Control path for persistent ssh connection
# https://bit.ly/ansible-control_path
# shortcuts: %h = hostname, %r = remote user
control_path = %(directory)s/%%h-%%r