X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=packer%2Ftemplates%2Fredis.json;h=657f109236d10cbf8a4c8d8b21f137efaee2b90a;hb=36defa951425741a0d204035170b6968353799fd;hp=6bf7b17f31cf29bcb5392d2632a4cc4eb5c26d82;hpb=f658f0e4543b9c90b72c543664301b2c16342206;p=ci-management.git diff --git a/packer/templates/redis.json b/packer/templates/redis.json index 6bf7b17f3..657f10923 100644 --- a/packer/templates/redis.json +++ b/packer/templates/redis.json @@ -39,9 +39,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" }, { @@ -50,6 +48,8 @@ }, { "type": "ansible", + "command": "./common-packer/ansible-playbook.sh", + "skip_version_check": true, "playbook_file": "provision/redis.yaml", "ansible_env_vars": [ "ANSIBLE_NOCOWS=1",