1
0
Fork 0
This repository has been archived on 2023-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
fedihub-ansible/bin/extra_opts.sh

13 lines
270 B
Bash

for vault_id in default kotovalexarian
do
if [ -f "secrets/$vault_id" ]; then
if [ -z "$extra_opts" ]; then
extra_opts="--vault-id"
else
extra_opts="$extra_opts --vault-id"
fi
extra_opts="$extra_opts $vault_id@secrets/$vault_id"
fi
done