Add the pip package hvac to support hashicorp vault

The hashicorp plugin for vault requires the hvac library. This change
adds the required lib to the embeded ansible.

Change-Id: If24767a647bc3fb359e67bac46ca4a626bbc6e54
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2018-09-24 11:09:22 -05:00
parent 814622cc6c
commit a98074ea74
No known key found for this signature in database
GPG Key ID: 9443251A787B9FB3

View File

@ -41,6 +41,7 @@ if [[ ! -e "${ANSIBLE_EMBED_HOME}/bin/ansible" ]]; then
eval "${ANSIBLE_EMBED_HOME}/bin/pip install --upgrade --force pip" eval "${ANSIBLE_EMBED_HOME}/bin/pip install --upgrade --force pip"
eval "${ANSIBLE_EMBED_HOME}/bin/pip install --upgrade ansible==2.5.5.0 --isolated" eval "${ANSIBLE_EMBED_HOME}/bin/pip install --upgrade ansible==2.5.5.0 --isolated"
eval "${ANSIBLE_EMBED_HOME}/bin/pip install --upgrade jmespath --isolated" eval "${ANSIBLE_EMBED_HOME}/bin/pip install --upgrade jmespath --isolated"
eval "${ANSIBLE_EMBED_HOME}/bin/pip install --upgrade hvac --isolated"
echo "Ansible can be found here: ${ANSIBLE_EMBED_HOME}/bin" echo "Ansible can be found here: ${ANSIBLE_EMBED_HOME}/bin"
fi fi