From f7dd723294912e4bb4484859ac263ab9270d70c6 Mon Sep 17 00:00:00 2001 From: Pawel Wieczorek Date: Thu, 24 Dec 2020 09:42:55 +0100 Subject: Allow operator access to the cluster This patch creates operator keypair and deploys its public key to all machines in the cluster. Previously cluster could be accessed from OpenStack admin machine only. Additional information added to the "all.yml*" group variables allowed keeping current roles generic and flexible. Issue-ID: INT-1601 Change-Id: I6b289ff9a8c9ebe04562671b8f4b4468b543723f Signed-off-by: Pawel Wieczorek --- .../ansible/group_vars/all.yml.sample | 29 ++++++++++++++++------ 1 file changed, 21 insertions(+), 8 deletions(-) (limited to 'deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample') 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 5a7defeec..c2d551da6 100644 --- a/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample +++ b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sample @@ -10,11 +10,24 @@ securitygroup: name: &securitygroup_name "onap_ci_lab" remote_ip_prefix: "172.24.4.0/24" -hosts: - - name: "operator0" - image: "Ubuntu_18.04" - flavor: "m1.tiny" - keypair: *keypair_name - network: *network_name - securitygroup: *securitygroup_name - volume_size: 5 +image: + name: &image_name "Ubuntu_18.04" + user: "ubuntu" + +cluster: + name: "cluster0" + hosts: + - name: "operator0" + image: *image_name + flavor: "m1.tiny" + keypair: *keypair_name + network: *network_name + securitygroup: *securitygroup_name + volume_size: 5 + - name: "worker0" + image: *image_name + flavor: "m1.tiny" + keypair: *keypair_name + network: *network_name + securitygroup: *securitygroup_name + volume_size: 5 -- cgit 1.2.3-korg