Update robot template to download roles from Ansible galaxy.
Change-Id: I351403a0d519d19aeeb3a4e0e77f52a515ffd771
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
],
"execute_command": "chmod +x {{ .Path }}; if [ \"$UID\" == \"0\" ]; then {{ .Vars }} '{{ .Path }}'; else {{ .Vars }} sudo -E '{{ .Path }}'; fi"
},
+ {
+ "type": "shell-local",
+ "command": "./common-packer/ansible-galaxy.sh {{user `ansible_roles_path`}}"
+ },
{
"type": "ansible",
"playbook_file": "provision/robot.yaml",