diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rotate-vault-password | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/rotate-vault-password b/bin/rotate-vault-password index 1762786..f73e889 100755 --- a/bin/rotate-vault-password +++ b/bin/rotate-vault-password @@ -12,4 +12,5 @@ gpg \ --output misc/vault-password.asc \ --encrypt password.txt -ansible-vault view misc/vaults/example.yml && rm password.txt +ansible-vault view misc/vaults/example.yml |\ + grep 'Secret revealed!' > /dev/null && rm password.txt |