Issue-ID: INT-1601
Change-Id: I799f15077437bcd836c5a38a004d974eed64f707
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
- openstack/create_devstack_network
- openstack/create_devstack_securitygroup
- openstack/create_devstack_keypair
+ - role: openstack/create_devstack_hosts
+ hosts: "{{ operation.hosts }}"
- role: openstack/create_devstack_hosts
hosts: "{{ cluster.hosts }}"
- name: Create cluster operator access keypair
roles:
- role: openstack/destroy_devstack_hosts
hosts: "{{ cluster.hosts }}"
+ - role: openstack/destroy_devstack_hosts
+ hosts: "{{ operation.hosts }}"
- openstack/destroy_devstack_keypair
- openstack/destroy_devstack_network
- openstack/destroy_devstack_securitygroup
name: &image_name "Ubuntu_18.04"
user: "ubuntu"
-cluster:
- name: "cluster0"
+operation:
+ name: "operation0"
hosts:
- name: "operator0"
image: *image_name
network: *network_name
securitygroup: *securitygroup_name
volume_size: 5
+
+cluster:
+ name: "cluster0"
+ hosts:
- name: "worker0"
image: *image_name
flavor: "m1.tiny"
name: &image_name "Ubuntu_18.04"
user: "ubuntu"
-cluster:
- name: "cluster0"
+operation:
+ name: "operation0"
hosts:
- name: "operator0"
image: *image_name
network: *network_name
securitygroup: *securitygroup_name
volume_size: 20
+
+cluster:
+ name: "cluster0"
+ hosts:
- name: "control0"
image: *image_name
flavor: "m1.xlarge"