8 lines
227 B
Bash
Executable File
8 lines
227 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -n "$ANSIBLE_VAULT_PASSWORD" ]; then
|
|
export ANSIBLE_VAULT_PASSWORD_FILE=/var/run/secrets/vault-password
|
|
echo "$ANSIBLE_VAULT_PASSWORD" > $ANSIBLE_VAULT_PASSWORD_FILE
|
|
unset ANSIBLE_VAULT_PASSWORD
|
|
fi
|