-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdelete-openstack-on-openstack.yml
66 lines (63 loc) · 1.58 KB
/
delete-openstack-on-openstack.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
- name: Prepare inventory and variables
hosts:
- localhost
vars:
state: present
tasks:
roles:
- role: 070-update-inventory
new_state: "{{ state }}"
- name: OpenStack undercloud
hosts:
- ospd
vars:
state: absent
tasks:
roles:
- role: 185-cacert-import
new_state: "{{ state }}"
- role: 110-stack-user
new_state: "{{ state }}"
- role: 100-yum-install
new_state: "{{ state }}"
# - role: 080-subscription-manager
# new_state: "{{ state }}"
- role: 079-yum-repos
new_state: "{{ state }}"
- name: OpenStack infrastructure
hosts:
- localhost
vars:
state: absent
tasks:
roles:
- role: 195-bastion-networking
new_state: "{{ state }}"
- role: 190-bastion-ports
new_state: "{{ state }}"
- role: 185-cacert-import
new_state: "{{ state }}"
- role: 075-ospd-floatingip
new_state: "{{ state }}"
- role: 060-nova-instances
new_state: "{{ state }}"
- role: 059-server-groups
new_state: "{{ state }}"
- role: 050-nova-flavors
new_state: "{{ state }}"
- role: 055-glance-images
new_state: "{{ state }}"
- role: 040-neutron-ports
new_state: "{{ state }}"
- role: 035-neutron-subnets
new_state: "{{ state }}"
- role: 030-neutron-networks
new_state: "{{ state }}"
- role: 025-ospd-floatingip-create
new_state: "{{ state }}"
- role: 020-openstack-quota
new_state: "{{ state }}"
- role: 015-keystone-role
new_state: "{{ state }}"
- role: 010-keystone-project
new_state: "{{ state }}"