summaryrefslogtreecommitdiffstats
path: root/tools/cicdansible/roles
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2022-03-10 14:09:49 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2022-04-14 08:13:50 +0000
commit41a46ed29851ffe8a47af13a8423651ef1c63530 (patch)
tree11bc99e4d919ba49f572c78e6e6a99a353434ff1 /tools/cicdansible/roles
parent41a2f95ef47c6300e864bd7a0e906a481814f311 (diff)
[CICDANSIBLE] Add availability_zone Heat stack parameter
This will allow parametrizing the availability zone in cicdansible Change-Id: Ia825b01e246acf7877b66665d436f0c4a1991b60 Issue-ID: OOM-2935 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> (cherry picked from commit 6317f18930938dc8302fc45199e73113c8f8f8ce)
Diffstat (limited to 'tools/cicdansible/roles')
-rw-r--r--tools/cicdansible/roles/setup_openstack_infrastructure/tasks/deploy/heat.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/cicdansible/roles/setup_openstack_infrastructure/tasks/deploy/heat.yml b/tools/cicdansible/roles/setup_openstack_infrastructure/tasks/deploy/heat.yml
index 609306b0..7fb2984b 100644
--- a/tools/cicdansible/roles/setup_openstack_infrastructure/tasks/deploy/heat.yml
+++ b/tools/cicdansible/roles/setup_openstack_infrastructure/tasks/deploy/heat.yml
@@ -30,6 +30,7 @@
node_flavor_name: "{{ node_flavor_name }}"
infra_flavor_name: "{{ infra_flavor_name }}"
installer_flavor_name: "{{ installer_flavor_name }}"
+ availability_zone: "{{ availability_zone }}"
node_ip: "{{ floating_ips_by_address[first_node_ip].id }}"
infra_ip: "{{ floating_ips_by_address[infra_ip].id }}"
installer_ip: "{{ floating_ips_by_address[installer_ip].id }}"