forked from taniaesteves/sys-pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdio_playbook.yml
37 lines (31 loc) · 955 Bytes
/
dio_playbook.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
---
- name: Prepare Setup
hosts: master
gather_facts: no
roles:
- { role: dio/prepare_setup, tags: ['never', 'prepare_setup'] }
- name: Create PVs
hosts: master
gather_facts: no
roles:
- { role: dio/create_pvs, tags: ['never', 'deploy_dio', 'create_pvs'] }
- name: Create DIO pipeline
hosts: master
gather_facts: no
roles:
- { role: dio/create_pipeline, tags: ['never', 'deploy_dio', 'create_pipeline'] }
- name: Import Kibana dashboards
hosts: master
gather_facts: no
roles:
- { role: dio/import_dashboards, when: "run_all is defined and run_all == 'true'", tags: ['never', 'deploy_dio', 'import_dashboards'] }
- name: Delete DIO pipeline
hosts: master
gather_facts: no
roles:
- { role: dio/delete_pipeline, tags: ['never', 'delete_dio', 'delete_pipeline'] }
- name: Delete PVs
hosts: master
gather_facts: no
roles:
- { role: dio/delete_pvs, tags: ['never', 'delete_dio', 'delete_pvs'] }