Add Ansible roles for OpenStack hosts 52/109252/6
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Tue, 16 Jun 2020 10:05:14 +0000 (12:05 +0200)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Thu, 30 Jul 2020 09:03:11 +0000 (09:03 +0000)
commitcbc0bf009dc59c483c88ce32a50c016874cd5363
tree0fe5634bc0dc230a03d3e860267c9c3cd09b5c7f
parenta879e2a54e0641b692202d417021f1824032b123
Add Ansible roles for OpenStack hosts

Key pair is generated upon host creation and removed after the host is
destroyed.

This patch is based on previous work by:
Krzysztof Opasiak <k.opasiak@samsung.com>

Issue-ID: INT-1601
Change-Id: I9acd0b68a3ee79a0d710c40e0a1cc8470dfacce5
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
21 files changed:
deployment/noheat/infra-openstack/ansible/create.yml
deployment/noheat/infra-openstack/ansible/destroy.yml
deployment/noheat/infra-openstack/ansible/group_vars/all.yml
deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml [new file with mode: 0644]
deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/main.yml [new file with mode: 0644]
deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_keypair/tasks/main.yml [new file with mode: 0644]
deployment/noheat/infra-openstack/ansible/roles/openstack/destroy_devstack_hosts/tasks/destroy_host.yml [new file with mode: 0644]
deployment/noheat/infra-openstack/ansible/roles/openstack/destroy_devstack_hosts/tasks/main.yml [new file with mode: 0644]
deployment/noheat/infra-openstack/ansible/roles/openstack/destroy_devstack_keypair/tasks/main.yml [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/test/create_host.stderr [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/test/create_host.stdout [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/test/create_host.test [new file with mode: 0755]
deployment/noheat/infra-openstack/vagrant/test/create_keypair.stderr [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/test/create_keypair.stdout [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/test/create_keypair.test [new file with mode: 0755]
deployment/noheat/infra-openstack/vagrant/test/destroy_host.stderr [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/test/destroy_host.stdout [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/test/destroy_host.test [new file with mode: 0755]
deployment/noheat/infra-openstack/vagrant/test/destroy_keypair.stderr [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/test/destroy_keypair.stdout [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/test/destroy_keypair.test [new file with mode: 0755]