conjurdemos / cdemo

A tour of Conjur including LDAP sync, scalable machine identity, policy-based mgmt, ssh key mgmt and Splunk integration.
21 stars 18 forks source link

Fixes issues with the Ansible workflow #54

Closed ryanprior closed 6 years ago

ryanprior commented 6 years ago

Currently, the Ansible workflow doesn't work as documented. I identified the following contributing issues: 1) the account listed on the Ansible node was Cyberark instead of cyberark, this is apparently case sensitive 2) the ansible/nodes layer to which the Ansible host belongs wasn't granted permissions on anything in the entitlements for the secrets/frontend/db_password variable 3) the secrets.yml file asks for a secret called /secrets/frontend/db_password which chokes, but it likes secrets/frontend/db_password just fine 4) you can't just run ./pullpassword.sh or even summon ./pullpassword.sh, you gotta run summon sh ./pullpassword.sh

These issues are resolved in this pull request and the Ansible workflow as documented in the walkthrough will complete without a hitch.