diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-03-03 13:51:53 +0000 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-03-03 13:51:53 +0000 |
commit | dda24d15031f6ca179bede64beef9ff3f6e7d6eb (patch) | |
tree | f1562e523ec2ce45ca479ff26c17daca2a6d9dcc /README.txt | |
parent | 420a2b58c08ac5da4a7150b75467b00d4359a7be (diff) | |
download | infra-dda24d15031f6ca179bede64beef9ff3f6e7d6eb.tar.gz infra-dda24d15031f6ca179bede64beef9ff3f6e7d6eb.tar.bz2 infra-dda24d15031f6ca179bede64beef9ff3f6e7d6eb.zip |
Pass user variable for dotfiles playbook example
Diffstat (limited to 'README.txt')
-rw-r--r-- | README.txt | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -20,7 +20,9 @@ There are currently no secrets stored in dotfiles, therefore it is possible to install dotfiles to localhost without decrypting Ansible Vault. $ touch /tmp/ansible.cfg -$ ANSIBLE_CONFIG=/tmp/ansible.cfg ansible-playbook dotfiles.yml +$ ANSIBLE_CONFIG=/tmp/ansible.cfg \ + ansible-playbook dotfiles.yml \ + --extra-vars "user=`whoami`" ROTATE VAULT PASSWORD |