From 6b89f0707b6b4470ceffc22b3d69fa29374e864f Mon Sep 17 00:00:00 2001 From: Jessica Wagantall Date: Wed, 29 Mar 2023 12:22:57 -0700 Subject: Fix: Update memcached packer template Update memcached packer template provisioner to pick up the ansible tools installed under the venv. Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall Change-Id: Ia8234567c6dbf25021c2b51beea43717238655b5 --- packer/templates/memcached.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packer') diff --git a/packer/templates/memcached.json b/packer/templates/memcached.json index 6554fb613..c25a564e1 100644 --- a/packer/templates/memcached.json +++ b/packer/templates/memcached.json @@ -41,9 +41,7 @@ "provisioners": [ { "type": "shell", - "scripts": [ - "common-packer/provision/install-python.sh" - ], + "scripts": ["common-packer/provision/install-python.sh"], "execute_command": "chmod +x {{ .Path }}; if [ \"$UID\" == \"0\" ]; then {{ .Vars }} '{{ .Path }}'; else {{ .Vars }} sudo -E '{{ .Path }}'; fi" }, { @@ -52,6 +50,8 @@ }, { "type": "ansible", + "command": "./common-packer/ansible-playbook.sh", + "skip_version_check": true, "playbook_file": "provision/memcached.yaml", "ansible_env_vars": [ "ANSIBLE_NOCOWS=1", -- cgit 1.2.3-korg