Adding nonadmin consumption support

This commit is contained in:
2026-01-14 14:05:49 -06:00
parent 908aef9943
commit 6d60bbe371
2 changed files with 18 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
### Ansible ###
source /etc/profile.d/shadowarch-shell-environment.sh
if [ -z "$ANINIX_PROFILE_D" ]; then
source /etc/profile.d/shadowarch-shell-environment.sh
else
source "$ANINIX_PROFILE_D"/shadowarch-shell-environment.sh
fi
export ANSIBLE_VAULT_FILE=$HOME/password-store/${organization}.vault
export ANSIBLE_VAULT_PASSWORD_FILE="${ANSIBLE_VAULT_FILE}.password"
alias ansible='/usr/bin/ansible -e @${ANSIBLE_VAULT_FILE}'