Issue-ID: INT-1601
Change-Id: I358332725272c44535257648c7fbccaf94d2ac30
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
- 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
connection: local
gather_facts: False
roles:
- - openstack/destroy_devstack_hosts
+ - role: openstack/destroy_devstack_hosts
+ hosts: "{{ cluster.hosts }}"
- openstack/destroy_devstack_keypair
- openstack/destroy_devstack_network
- openstack/destroy_devstack_securitygroup
---
- include: create_host.yml host={{ item }}
- loop: "{{ cluster.hosts }}"
+ loop: "{{ hosts }}"
---
- include: destroy_host.yml host={{ item }}
- loop: "{{ cluster.hosts }}"
+ loop: "{{ hosts }}"