From 456d6bffe4d87eca1fbfb419f5eae7ce364e07d3 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Wed, 12 Oct 2022 09:15:13 +1000 Subject: [PATCH] Fix: packer templates for common-packer v0.12.1 The latest version of common-packer v0.12.1 pulls ansible from PyPI, these changes are required to reflect the submodule updates. Change-Id: I53823e0753f42066b553963be28d4ec3ef206a44 Signed-off-by: Anil Belur --- packer/templates/builder.json | 2 ++ packer/templates/devstack-pre-pip-queens.json | 2 ++ packer/templates/devstack-pre-pip-rocky.json | 2 ++ packer/templates/devstack-pre-pip-stein.json | 2 ++ packer/templates/devstack.json | 2 ++ packer/templates/helm.json | 2 ++ packer/templates/mininet-ovs-2.8.json | 2 ++ packer/templates/robot.json | 2 ++ 8 files changed, 16 insertions(+) diff --git a/packer/templates/builder.json b/packer/templates/builder.json index ed13e0166..51ebe88d9 100644 --- a/packer/templates/builder.json +++ b/packer/templates/builder.json @@ -56,6 +56,8 @@ { "type": "ansible", "playbook_file": "provision/local-builder.yaml", + "command": "./common-packer/ansible-playbook.sh", + "skip_version_check": true, "ansible_env_vars": [ "ANSIBLE_NOCOWS=1", "ANSIBLE_PIPELINING=True", diff --git a/packer/templates/devstack-pre-pip-queens.json b/packer/templates/devstack-pre-pip-queens.json index 23214fe85..170bdc0c7 100644 --- a/packer/templates/devstack-pre-pip-queens.json +++ b/packer/templates/devstack-pre-pip-queens.json @@ -55,6 +55,8 @@ { "type": "ansible", "playbook_file": "provision/devstack-pre-pip.yaml", + "command": "./common-packer/ansible-playbook.sh", + "skip_version_check": true, "ansible_env_vars": [ "ANSIBLE_DEBUG=False", "ANSIBLE_NOCOWS=1", diff --git a/packer/templates/devstack-pre-pip-rocky.json b/packer/templates/devstack-pre-pip-rocky.json index a16ac897a..175f82e43 100644 --- a/packer/templates/devstack-pre-pip-rocky.json +++ b/packer/templates/devstack-pre-pip-rocky.json @@ -56,6 +56,8 @@ { "type": "ansible", "playbook_file": "provision/devstack-pre-pip.yaml", + "command": "./common-packer/ansible-playbook.sh", + "skip_version_check": true, "ansible_env_vars": [ "ANSIBLE_DEBUG=False", "ANSIBLE_NOCOWS=1", diff --git a/packer/templates/devstack-pre-pip-stein.json b/packer/templates/devstack-pre-pip-stein.json index f689b4412..9abb28f4a 100644 --- a/packer/templates/devstack-pre-pip-stein.json +++ b/packer/templates/devstack-pre-pip-stein.json @@ -56,6 +56,8 @@ { "type": "ansible", "playbook_file": "provision/devstack-pre-pip.yaml", + "command": "./common-packer/ansible-playbook.sh", + "skip_version_check": true, "ansible_env_vars": [ "ANSIBLE_DEBUG=False", "ANSIBLE_NOCOWS=1", diff --git a/packer/templates/devstack.json b/packer/templates/devstack.json index c5ca7d4a7..98a1f13e0 100644 --- a/packer/templates/devstack.json +++ b/packer/templates/devstack.json @@ -56,6 +56,8 @@ { "type": "ansible", "playbook_file": "provision/devstack.yaml", + "command": "./common-packer/ansible-playbook.sh", + "skip_version_check": true, "ansible_env_vars": [ "ANSIBLE_NOCOWS=1", "ANSIBLE_PIPELINING=True", diff --git a/packer/templates/helm.json b/packer/templates/helm.json index 636ec46a4..f45c042d7 100644 --- a/packer/templates/helm.json +++ b/packer/templates/helm.json @@ -64,6 +64,8 @@ { "type": "ansible", "playbook_file": "provision/helm.yaml", + "command": "./common-packer/ansible-playbook.sh", + "skip_version_check": true, "ansible_env_vars": [ "ANSIBLE_NOCOWS=1", "ANSIBLE_PIPELINING=True", diff --git a/packer/templates/mininet-ovs-2.8.json b/packer/templates/mininet-ovs-2.8.json index 544c685b9..9c0847160 100644 --- a/packer/templates/mininet-ovs-2.8.json +++ b/packer/templates/mininet-ovs-2.8.json @@ -56,6 +56,8 @@ { "type": "ansible", "playbook_file": "provision/mininet-ovs-2.8.yaml", + "command": "./common-packer/ansible-playbook.sh", + "skip_version_check": true, "ansible_env_vars": [ "ANSIBLE_NOCOWS=1", "ANSIBLE_PIPELINING=True", diff --git a/packer/templates/robot.json b/packer/templates/robot.json index fb28e691b..17937e2c0 100644 --- a/packer/templates/robot.json +++ b/packer/templates/robot.json @@ -56,6 +56,8 @@ { "type": "ansible", "playbook_file": "provision/robot.yaml", + "command": "./common-packer/ansible-playbook.sh", + "skip_version_check": true, "ansible_env_vars": [ "ANSIBLE_NOCOWS=1", "ANSIBLE_PIPELINING=True", -- 2.36.6