aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/noheat/infra-openstack/ansible/create.yml
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2021-01-29 11:06:16 +0100
committerPawel Wieczorek <p.wieczorek2@samsung.com>2021-01-29 11:06:22 +0100
commited760541eb52cf211bda363a63f2da07becd94c8 (patch)
tree09a3ece2ab0dfa6cef605878e6c8b9fa5e58d757 /deployment/noheat/infra-openstack/ansible/create.yml
parenta9ee3248101eef2287315d300fbb7c5e36d0670e (diff)
Accept host group as an argument to allow reusing roles
Issue-ID: INT-1601 Change-Id: I358332725272c44535257648c7fbccaf94d2ac30 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'deployment/noheat/infra-openstack/ansible/create.yml')
-rw-r--r--deployment/noheat/infra-openstack/ansible/create.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/deployment/noheat/infra-openstack/ansible/create.yml b/deployment/noheat/infra-openstack/ansible/create.yml
index 3885f0e2c..2b7cf6366 100644
--- a/deployment/noheat/infra-openstack/ansible/create.yml
+++ b/deployment/noheat/infra-openstack/ansible/create.yml
@@ -7,7 +7,8 @@
- openstack/create_devstack_network
- openstack/create_devstack_securitygroup
- openstack/create_devstack_keypair
- - openstack/create_devstack_hosts
+ - role: openstack/create_devstack_hosts
+ hosts: "{{ cluster.hosts }}"
- name: Create cluster operator access keypair
hosts: "operator0"
gather_facts: False