Skip to content
Snippets Groups Projects
Commit a9f58bfd authored by Sven Mäder's avatar Sven Mäder :speech_balloon:
Browse files

Add keychain eval to connect to agents silently

parent 88b469b6
No related branches found
No related tags found
No related merge requests found
......@@ -106,3 +106,8 @@ if [ "${ENVRCD_USER}" == "rda" ] && [ "${USER}" == "maedersv" ]; then
export ANSIBLE_VAULT_ID_MATCH=true
export ANSIBLE_VAULT_IDENTITY_LIST="production@${ANSIBLE_ISG_PHYS_PATH}/.vault-keys/production,workstations@${ANSIBLE_ISG_PHYS_PATH}/.vault-keys/workstations,testing@${ANSIBLE_ISG_PHYS_PATH}/.vault-keys/testing"
fi
# --- keychain (ssh-agent, gpg-agent) ---
if [ "${ENVRCD_USER}" == "rda" ] && [ "${HOSTNAME}" == "rda" ] && [ "${USER}" == "maedersv" ]; then
eval $(keychain --nogui --eval --ignore-missing --noinherit --quiet --noask --agents ssh,gpg --quick id_ed25519 id_rsa 8F3FB7BD7A6BF71D)
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment