Update ovs 2.8 template to download roles 32/73632/1
authorAnil Belur <abelur@linuxfoundation.org>
Mon, 2 Jul 2018 08:00:32 +0000 (18:00 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 2 Jul 2018 08:00:32 +0000 (18:00 +1000)
Update ovs 2.8 template to download roles from Ansible galaxy.

Change-Id: I31ae1ecc7652be71e4c9f029d1b9d9320ea46ff2
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
packer/templates/mininet-ovs-2.8.json

index 1f668dbe95d5ddc975775c88e8f1c9ba209ece23..3807026b19c91edef54a4fea3315432d750796c9 100644 (file)
       ],
       "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/mininet-ovs-2.8.yaml",