summaryrefslogtreecommitdiff
path: root/README.txt
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2024-03-03 13:51:53 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2024-03-03 13:51:53 +0000
commitdda24d15031f6ca179bede64beef9ff3f6e7d6eb (patch)
treef1562e523ec2ce45ca479ff26c17daca2a6d9dcc /README.txt
parent420a2b58c08ac5da4a7150b75467b00d4359a7be (diff)
downloadinfra-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.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index 3de3e8f..47f8d56 100644
--- a/README.txt
+++ b/README.txt
@@ -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