Migrate to the new v2 format

This commit is contained in:
Luke Murphy
2020-04-15 21:35:53 +02:00
parent 45c60fa186
commit 2b0cab6145
39 changed files with 282 additions and 403 deletions

View File

@ -1,15 +0,0 @@
#!/bin/bash
set -eu -o pipefail
# Usage
# ./encrypt.sh mysecretname mysecretvalue
declare name="$1"
declare secret="$2"
ansible-vault \
encrypt_string \
--vault-password-file ansible/.vault.sh \
--name "$name" \
"$secret"