diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-06-01 19:15:26 +0100 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-06-01 19:15:26 +0100 |
commit | d129e0950bdaf55c7d752933e77790e9d5b151a3 (patch) | |
tree | 0db32866ecde3b370a239dc968d4fe87d58773f9 /bin/rotate-vault-password.sh | |
parent | c593b0c5ed0395c4fe31d074cfaf2e2657ae0856 (diff) | |
download | infra-d129e0950bdaf55c7d752933e77790e9d5b151a3.tar.gz infra-d129e0950bdaf55c7d752933e77790e9d5b151a3.tar.bz2 infra-d129e0950bdaf55c7d752933e77790e9d5b151a3.zip |
Remove .sh extention from bin tools
Diffstat (limited to 'bin/rotate-vault-password.sh')
-rwxr-xr-x | bin/rotate-vault-password.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/bin/rotate-vault-password.sh b/bin/rotate-vault-password.sh deleted file mode 100755 index 1762786..0000000 --- a/bin/rotate-vault-password.sh +++ /dev/null @@ -1,15 +0,0 @@ -#! /usr/bin/env sh - -head -c 128 /dev/urandom | base64 > password.txt - -ansible-vault rekey - --new-vault-password-file password.txt \ - `git grep -l 'ANSIBLE_VAULT;1.1;AES256$'` - -gpg \ - -r d@ilvokhin.com \ - --armor \ - --output misc/vault-password.asc \ - --encrypt password.txt - -ansible-vault view misc/vaults/example.yml && rm password.txt |