2023-11-29 11:18:56 -06:00
|
|
|
### Ansible ###
|
2024-03-30 14:32:43 -05:00
|
|
|
source /etc/profile.d/shadowarch-shell-environment.sh
|
2023-11-29 11:18:56 -06:00
|
|
|
export ANSIBLE_VAULT_PASSWORD_FILE=$HOME/password-store/${organization}.vault.password
|
|
|
|
export ANSIBLE_VAULT_FILE=$HOME/password-store/${organization}.vault
|
|
|
|
alias ansible="/usr/bin/ansible -e @${ANSIBLE_VAULT_FILE}"
|
|
|
|
alias ansible-playbook="/usr/bin/ansible-playbook -e @${ANSIBLE_VAULT_FILE}"
|
|
|
|
alias vault="/usr/bin/ansible-vault edit ${ANSIBLE_VAULT_FILE}"
|