infrastructure/ansible.cfg
saibotk f146f9af65
feat(ansible): Adjust configs
This disables cowsay messages.
Enables persistent connections, so that multiple playbooks can reuse the connection.
Enables pipelining for speed, since we are not affected by the limitation described in https://docs.ansible.com/ansible/latest/reference_appendices/config.html#envvar-ANSIBLE_PIPELINING
this gives us some speed boost.

Additionally the playbook dir was set, so that some commands can benefit from the correct default.
2024-03-10 01:08:05 +01:00

25 lines
596 B
INI

[defaults]
roles_path = ./roles:$HOME/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
collections_path = ./collections:$HOME/.ansible/collections:/usr/share/ansible/collections:/etc/ansible/collections
playbook_dir = ./playbooks
inventory = ./inventory
vault_password_file = .vault_pass
retry_files_enabled = False
nocows=True
use_persistent_connections = True
[connection]
pipelining = True
[ssh_connection]
transfer_method = piped
[privilege_escalation]
become_ask_pass = False
[galaxy]
role_skeleton = ./.ansible/skeleton/default
role_skeleton_ignore = ^.git$,^.*/.git_keep$