diff options
-rw-r--r-- | deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap | 53 | ||||
-rw-r--r-- | deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml | 1 |
2 files changed, 54 insertions, 0 deletions
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 new file mode 100644 index 000000000..6e95fdf33 --- /dev/null +++ b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap @@ -0,0 +1,53 @@ +--- +network: + name: &network_name "onap_ci_lab" + cidr: "192.168.1.0/24" + +keypair: + name: &keypair_name "onap_ci_lab" + +securitygroup: + name: &securitygroup_name "onap_ci_lab" + remote_ip_prefix: "0.0.0.0/0" + +hosts: + - name: "operator0" + image: "Ubuntu_18.04" + flavor: "m1.xlarge" + keypair: *keypair_name + network: *network_name + securitygroup: *securitygroup_name + - name: "control0" + image: "Ubuntu_18.04" + flavor: "m1.xlarge" + keypair: *keypair_name + network: *network_name + securitygroup: *securitygroup_name + - name: "worker0a" + image: "Ubuntu_18.04" + flavor: "m1.2xlarge" + keypair: *keypair_name + network: *network_name + auto_ip: false + securitygroup: *securitygroup_name + - name: "worker0b" + image: "Ubuntu_18.04" + flavor: "m1.2xlarge" + keypair: *keypair_name + network: *network_name + auto_ip: false + securitygroup: *securitygroup_name + - name: "worker0c" + image: "Ubuntu_18.04" + flavor: "m1.2xlarge" + keypair: *keypair_name + network: *network_name + auto_ip: false + securitygroup: *securitygroup_name + - name: "nfs0" + image: "Ubuntu_18.04" + flavor: "m1.large" + keypair: *keypair_name + network: *network_name + auto_ip: false + securitygroup: *securitygroup_name diff --git a/deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml b/deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml index c164d7144..4c6759fd7 100644 --- a/deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml +++ b/deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml @@ -9,3 +9,4 @@ network: "{{ host.network }}" security_groups: - "{{ host.securitygroup }}" + auto_ip: "{{ host.auto_ip | default(true) }}" |