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:
parent
79dabffd40
commit
f146f9af65
1 changed files with 10 additions and 2 deletions
12
ansible.cfg
12
ansible.cfg
|
@ -2,15 +2,23 @@
|
|||
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
|
||||
retry_files_enabled = false
|
||||
|
||||
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
|
||||
become_ask_pass = False
|
||||
|
||||
[galaxy]
|
||||
role_skeleton = ./.ansible/skeleton/default
|
||||
|
|
Loading…
Add table
Reference in a new issue