-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenstack.yaml
More file actions
41 lines (35 loc) · 787 Bytes
/
openstack.yaml
File metadata and controls
41 lines (35 loc) · 787 Bytes
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
---
- hosts: localhost
gather_facts: false
tasks:
- ansible.builtin.include_role:
name: purge
- hosts: localhost
tasks:
- vars:
deploy__config_drive: false
ansible.builtin.include_role:
name: deploy
- ansible.builtin.include_role:
name: test_vm
- name: purge the test server
openstack.cloud.server:
name: test_vm
state: absent
- hosts: localhost
tasks:
- vars:
deploy__config_drive: true
ansible.builtin.include_role:
name: deploy
- include_role:
name: test_vm
- name: purge the test server
openstack.cloud.server:
name: test_vm
state: absent
- hosts: localhost
gather_facts: false
tasks:
- include_role:
name: purge