-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathansible.cfg
More file actions
33 lines (29 loc) · 1.27 KB
/
ansible.cfg
File metadata and controls
33 lines (29 loc) · 1.27 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
[defaults]
retry_files_enabled = False
stdout_callback = ansible.builtin.default
callback_result_format = yaml
timeout = 30
inventory_plugins = inventory_plugins
filter_plugins = filter_plugins
test_plugins = test_plugins
#
# Do not define strategy_plugins path here as we cannot dynamically determine Python major.minor version numbers.
# We define ANSIBLE_STRATEGY_PLUGINS in lor-init instead:
# export ANSIBLE_STRATEGY_PLUGINS=$(ls -d *.venv/lib/python*/site-packages/ansible_mitogen/plugins/strategy | sort -V | tail -1)
#
#
# Do not use a hard-coded vault_password_file file here:
# we have multiple .vault_pass.txt.${stack_name} files with specific passwords for each stack.
# The stack_name and stack_prefix variables are defined in
# group_vars/${stack_name}/vars.yml
# source the .lor-init file in the root of the repo and then use the lor-config function:
# source ./lor-init
# lor-config ${stack_prefix}
# This wil configure various environment variables including ANSIBLE_VAULT_PASSWORD_FILE.
#
#vault_password_file = .vault_pass.txt
[ssh_connection]
pipelining = True
ssh_args = -C -o ControlPath='~/.ssh/tmp/%C' -o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes -o PreferredAuthentications=publickey,keyboard-interactive
[inventory]
enable_plugins = yaml_with_jumphost