diff options
author | Aaron LI <aly@aaronly.me> | 2018-03-14 12:04:11 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-03-14 12:05:38 +0800 |
commit | 54f42f5948fa7837b5444109e65948b24e9aa81a (patch) | |
tree | cb5dfe86be828cf233d93d7b4c96f1125fadc3c9 /ansible.cfg | |
parent | f2124add28b5437945fed2700b810d5df2d90666 (diff) | |
download | ansible-dfly-vps-54f42f5948fa7837b5444109e65948b24e9aa81a.tar.bz2 |
vars: use ansible vault
Credit: https://docs.ansible.com/ansible/latest/playbooks_best_practices.html#best-practices-for-variables-and-vaults
Diffstat (limited to 'ansible.cfg')
-rw-r--r-- | ansible.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible.cfg b/ansible.cfg index 38640db..1c0e15d 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -14,6 +14,11 @@ timeout = 30 # uncomment this to disable SSH key host checking #host_key_checking = False +# If set, configures the path to the Vault password file as an alternative +# to specifying --vault-password-file on the command line. +# e.g., dd if=/dev/random count=1 bs=32 | openssl base64 +vault_password_file = ./private/vault_pass + # don't like cows? that's unfortunate. # set to 1 if you don't want cowsay support or export ANSIBLE_NOCOWS=1 #nocows = 1 |