From dda24d15031f6ca179bede64beef9ff3f6e7d6eb Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sun, 3 Mar 2024 13:51:53 +0000 Subject: Pass user variable for dotfiles playbook example --- README.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.txt') 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 -- cgit v1.2.3-70-g09d2