diff options
Diffstat (limited to 'packer')
-rw-r--r-- | packer/templates/helm.json | 6 | ||||
-rw-r--r-- | packer/templates/redis.json | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/packer/templates/helm.json b/packer/templates/helm.json index cdf752af0..ac824ced4 100644 --- a/packer/templates/helm.json +++ b/packer/templates/helm.json @@ -42,9 +42,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" }, { @@ -53,6 +51,8 @@ }, { "type": "ansible", + "command": "./common-packer/ansible-playbook.sh", + "skip_version_check": true, "playbook_file": "provision/helm.yaml", "ansible_env_vars": [ "ANSIBLE_NOCOWS=1", 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", |