Fix venv detection for ansible cluster target

This fixes the installation of the consul python library
This commit is contained in:
IamTheFij 2022-05-24 20:07:52 -07:00
parent faef7f3734
commit a07f37ff1b

View File

@ -61,7 +61,7 @@ venv/bin/ansible:
.PHONY: ansible-cluster
ansible-cluster: venv/bin/ansible
./venv/bin/ansible-galaxy install -p roles -r roles/requirements.yml
./venv/bin/ansible-playbook -K -vv \
env VIRTUAL_ENV=/Users/ifij/workspace/iamthefij/orchestration-tests/nomad/venv ./venv/bin/ansible-playbook -K -vv \
-e "@vault-keys.json" \
-i ansible_hosts.yml -M ./roles ./setup-cluster.yml