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.
This commit is contained in:
saibotk 2024-03-10 01:07:52 +01:00
parent 79dabffd40
commit f146f9af65
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -2,15 +2,23 @@
roles_path = ./roles:$HOME/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles 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 collections_path = ./collections:$HOME/.ansible/collections:/usr/share/ansible/collections:/etc/ansible/collections
playbook_dir = ./playbooks
inventory = ./inventory inventory = ./inventory
retry_files_enabled = false
vault_password_file = .vault_pass vault_password_file = .vault_pass
retry_files_enabled = False
nocows=True
use_persistent_connections = True
[connection]
pipelining = True
[ssh_connection] [ssh_connection]
transfer_method = piped transfer_method = piped
[privilege_escalation] [privilege_escalation]
become_ask_pass = false become_ask_pass = False
[galaxy] [galaxy]
role_skeleton = ./.ansible/skeleton/default role_skeleton = ./.ansible/skeleton/default