aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/noheat
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/noheat')
-rw-r--r--deployment/noheat/infra-openstack/ansible/create.yml2
-rw-r--r--deployment/noheat/infra-openstack/ansible/destroy.yml2
-rw-r--r--deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample8
-rw-r--r--deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap8
4 files changed, 16 insertions, 4 deletions
diff --git a/deployment/noheat/infra-openstack/ansible/create.yml b/deployment/noheat/infra-openstack/ansible/create.yml
index 2b7cf6366..74d6d1f44 100644
--- a/deployment/noheat/infra-openstack/ansible/create.yml
+++ b/deployment/noheat/infra-openstack/ansible/create.yml
@@ -8,6 +8,8 @@
- 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
hosts: "operator0"
diff --git a/deployment/noheat/infra-openstack/ansible/destroy.yml b/deployment/noheat/infra-openstack/ansible/destroy.yml
index c85f17a02..ca1455f5f 100644
--- a/deployment/noheat/infra-openstack/ansible/destroy.yml
+++ b/deployment/noheat/infra-openstack/ansible/destroy.yml
@@ -6,6 +6,8 @@
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
diff --git a/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample
index 7ca72de10..72d37a303 100644
--- a/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample
+++ b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample
@@ -16,8 +16,8 @@ image:
name: &image_name "Ubuntu_18.04"
user: "ubuntu"
-cluster:
- name: "cluster0"
+operation:
+ name: "operation0"
hosts:
- name: "operator0"
image: *image_name
@@ -26,6 +26,10 @@ cluster:
network: *network_name
securitygroup: *securitygroup_name
volume_size: 5
+
+cluster:
+ name: "cluster0"
+ hosts:
- name: "worker0"
image: *image_name
flavor: "m1.tiny"
diff --git a/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap
index e3ae6b346..744f91839 100644
--- a/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap
+++ b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap
@@ -15,8 +15,8 @@ image:
name: &image_name "Ubuntu_18.04"
user: "ubuntu"
-cluster:
- name: "cluster0"
+operation:
+ name: "operation0"
hosts:
- name: "operator0"
image: *image_name
@@ -25,6 +25,10 @@ cluster:
network: *network_name
securitygroup: *securitygroup_name
volume_size: 20
+
+cluster:
+ name: "cluster0"
+ hosts:
- name: "control0"
image: *image_name
flavor: "m1.xlarge"