-
Notifications
You must be signed in to change notification settings - Fork 0
/
all.yaml
51 lines (46 loc) · 1.01 KB
/
all.yaml
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
---
- name: Perform Initialization
tags: common
hosts: vm
tasks:
- import_role:
name: common
- name: Install Metrics Collector
tags: metrics
hosts: vm
tasks:
- import_role:
name: metrics
- name: Install Container Runtime
tags: cr
hosts: vm
tasks:
- import_role:
name: container_runtime
when: "plex_install is not defined || plex_install != true"
- name: Install Portainer
tags: portainer
hosts: vm
tasks:
- import_role:
name: portainer
when: "plex_install is not defined || plex_install != true"
- name: Generate Portainer Stacks
tags: portainer,stacks
hosts: vm
tasks:
- import_role:
name: portainer
tasks_from: stack_generator.yaml
when:
- portainer_stacks is defined
- "plex_install is not defined || plex_install != true"
- name: Install Plex
tags: plex
hosts: vm
tasks:
- import_role:
name: plex
when:
- plex_install is defined
- plex_install == true