From a879e2a54e0641b692202d417021f1824032b123 Mon Sep 17 00:00:00 2001 From: Pawel Wieczorek Date: Mon, 15 Jun 2020 16:29:35 +0200 Subject: Add Ansible roles for OpenStack network This patch also adds Vagrant provisioners for creating and destroying OpenStack infrastructure. These are set to never run (unless explicitly called by the operator) because DevStack instance on a separate machine might not be ready to provide OpenStack API. This patch is based on previous work by: Krzysztof Opasiak Test harness is based on blog post [1] by: Chris Morgan [1] https://chrismorgan.info/blog/make-and-git-diff-test-harness Issue-ID: INT-1601 Change-Id: I031ca7a5a43cca0258dc0dc9e0339182c431898a Signed-off-by: Pawel Wieczorek --- deployment/noheat/infra-openstack/ansible/destroy.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 deployment/noheat/infra-openstack/ansible/destroy.yml (limited to 'deployment/noheat/infra-openstack/ansible/destroy.yml') diff --git a/deployment/noheat/infra-openstack/ansible/destroy.yml b/deployment/noheat/infra-openstack/ansible/destroy.yml new file mode 100644 index 000000000..b63e07088 --- /dev/null +++ b/deployment/noheat/infra-openstack/ansible/destroy.yml @@ -0,0 +1,7 @@ +--- +- name: Destroy infrastructure + hosts: localhost + connection: local + gather_facts: False + roles: + - openstack/destroy_devstack_network -- cgit 1.2.3-korg