Set ask_vault_pass in ansible.cfg

This commit is contained in:
jeltz 2022-05-22 18:56:55 +02:00
parent c291e836a9
commit 765d24685e
Signed by: jeltz
GPG key ID: 800882B66C0C3326

View file

@ -1,33 +1,15 @@
# Ansible configuration
[defaults] [defaults]
ask_vault_pass = True
# Explicitly redefine some defaults to make subfolder execution work
roles_path = ./roles roles_path = ./roles
# Do not create .retry files
retry_files_enabled = False retry_files_enabled = False
# Use inventory
inventory = ./hosts inventory = ./hosts
# Custom header in templates
ansible_managed = Ansible managed, modified on %Y-%m-%d %H:%M:%S ansible_managed = Ansible managed, modified on %Y-%m-%d %H:%M:%S
# Do not use cows (with cowsay)
nocows = 1 nocows = 1
# Do more parallelism
forks = 15 forks = 15
# Some SSH connection will take time
timeout = 60 timeout = 60
remote_user = root remote_user = root
[diff] [diff]
# TO know what changed
always = yes always = yes
[ssh_connection] [ssh_connection]