You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested from CLI using Vagrant/Ansible on OS X High Sierra as well as via a hosted AWX container.
SUMMARY
I'm attempting to follow instructions to use AppRole authentication.
I've set the environment variables mentioned in README.md ANSIBLE_HASHICORP_VAULT_ROLE_ID
and ANSIBLE_HASHICORP_VAULT_SECRET_ID
I've confirmed that I'm able to use the vault CLI to retrieve an approle token using the same role_id and secret_id. Additionally, i've ensured that I've set my secred_id ttl and max_num_uses to 0(infinite).
I've reproduced via Vagrant/Ansible locally on OS X High Sierra as well as via AWX containers.
EXPECTED RESULTS
Correct configuration: Successful lookup via lookup plugin
TASK [users : Set SSH Keys for Ops Users and Task Users] ***********************
task path: /Users/btennant/GitHub/DevOps_bencoffeed/roles/users/tasks/main.yml:79
fatal: [ben-sandbox01]: FAILED! => {
"msg": "An unhandled exception occurred while running the lookup plugin 'vault'. Error was a <type 'exceptions.AttributeError'>, original message: 'exceptions.AttributeError' object has no attribute 'code'"
}
AWX
fatal: [10.5.0.41]: FAILED! => {
"changed": false,
"msg": "AnsibleError: An unhandled exception occurred while running the lookup plugin 'vault'. Error was a <type 'exceptions.AttributeError'>, original message: 'exceptions.AttributeError' object has no attribute 'code'"
}
The text was updated successfully, but these errors were encountered:
ISSUE TYPE
ANSIBLE VERSION
AND
CONFIGURATION
OS / ENVIRONMENT
Tested from CLI using Vagrant/Ansible on OS X High Sierra as well as via a hosted AWX container.
SUMMARY
I'm attempting to follow instructions to use AppRole authentication.
I've set the environment variables mentioned in README.md
ANSIBLE_HASHICORP_VAULT_ROLE_ID
and
ANSIBLE_HASHICORP_VAULT_SECRET_ID
I've confirmed that I'm able to use the vault CLI to retrieve an approle token using the same role_id and secret_id. Additionally, i've ensured that I've set my secred_id ttl and max_num_uses to 0(infinite).
I've reproduced via Vagrant/Ansible locally on OS X High Sierra as well as via AWX containers.
EXPECTED RESULTS
ACTUAL RESULTS
OS X
AWX
The text was updated successfully, but these errors were encountered: