Truncated history
This commit is contained in:
14
helpers/get-passwords.sh
Executable file
14
helpers/get-passwords.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
if ! [[ -d "./.passwords" ]]
|
||||
then
|
||||
mkdir "./.passwords"
|
||||
echo "Created passwords directory"
|
||||
fi
|
||||
|
||||
bw get password "ansible vault encryption" > ./.passwords/vault
|
||||
echo "Fetched vault password"
|
||||
bw get password "linux user ansible@bigboi" > ./.passwords/become
|
||||
echo "Fetched ansible user password"
|
||||
bw get password "linux user wholteza@bigboi" > ./.passwords/bootstrap_become
|
||||
echo "Fetched bootstrap user password"
|
||||
Reference in New Issue
Block a user