diff options
author | Anil Belur <abelur@linuxfoundation.org> | 2023-03-22 22:14:28 +0530 |
---|---|---|
committer | Anil Belur <abelur@linuxfoundation.org> | 2023-03-22 22:28:34 +0530 |
commit | b8115c8294dcdc34c133dfe922cfd04434aa7c35 (patch) | |
tree | dd849640dbfdea1690d78836156c4deb31ec9bb3 /packer | |
parent | 4fec7bc0065d3be4c9cce93e6205a734d867f02b (diff) |
Fix: Update helm packer template
Update helm packer template provisioner to pick up the
ansible tools installed under the venv.
Issue-ID: CIMAN-33
Change-Id: If43a26d157f2c4da2714962e4df4a2c8922ab1d2
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Diffstat (limited to 'packer')
-rw-r--r-- | packer/templates/helm.json | 6 |
1 files changed, 3 insertions, 3 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", |