From a07f37ff1bcd58d0ce725c197b189d5b7a9e7afe Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Tue, 24 May 2022 20:07:52 -0700 Subject: [PATCH] Fix venv detection for ansible cluster target This fixes the installation of the consul python library --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 095eb9a..dbeea94 100644 --- a/Makefile +++ b/Makefile @@ -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