Set ask_vault_pass in ansible.cfg
This commit is contained in:
parent
c291e836a9
commit
765d24685e
1 changed files with 1 additions and 19 deletions
20
ansible.cfg
20
ansible.cfg
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue