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

Add dependency check for python-jmespath on Debian based systems. #64

Open CaptainFluffyToes opened 6 years ago

CaptainFluffyToes commented 6 years ago

I received the error:

TASK [conjurConfig : Get full name of conjur-appliance image] ******************************************************************************************************
task path: /mnt/hgfs/GitHubProjects/cdemo/conjurDemo/roles/conjurConfig/tasks/conjurEE.yml:20
fatal: [default]: FAILED! => {
    "msg": "You need to install \"jmespath\" prior to running json_query filter"
}
        to retry, use: --limit @/mnt/hgfs/GitHubProjects/cdemo/conjurDemo/site.retry

PLAY RECAP *********************************************************************************************************************************************************
default                    : ok=24   changed=5    unreachable=0    failed=1

This error seems to point to a python dependency that is missing on my system. I am using TurnKey Linux Core which is a Debian Jessie based distribution.

The error can be solved by running: apt-get install python-jmespath

There should be a check on debian based systems for this particular package and then added as an automatic install.