-
Notifications
You must be signed in to change notification settings - Fork 0
/
provisioning.yml
132 lines (111 loc) · 2.78 KB
/
provisioning.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
---
- name: Bootstrap
hosts: all
become: yes
gather_facts: no
roles:
- role: robertdebock.bootstrap
tags:
- bootstrap
when: (bootstrap_enabled | default(True))
- name: Provisioning
hosts: all
gather_facts: yes
roles:
###
### Run general preparation
###
- role: swapoff
tags:
- swap
when: (swap_enabled | default(False))
- role: geerlingguy.swap
tags:
- swap
when: (swap_enabled | default(False))
- role: server_general_preparations
tags:
- general
- role: users
tags:
- users
###
### Requirements
###
# TODO: role requires gather_facts: yes - fix it or change to another role
# TODO: recheck on clear installation
# TODO: make cron task to remove unused docker images
- role: geerlingguy.docker
tags:
- docker
when: (docker_enabled | default(False))
- role: darkwizard242.lazydocker
tags:
- lazydocker
when: (lazydocker_enabled | default(False))
###
### Docker applications
###
- role: traefik
tags:
- traefik
when: (traefik_enabled | default(False))
- role: mayurifag_github_io
tags:
- mayurifag_github_io
when: (mayurifag_github_io_enabled | default(False))
- role: proxy
tags:
- proxy
when: (proxy_enabled | default(False))
- role: shadowsocks
tags:
- shadowsocks
when: (shadowsocks_enabled | default(False))
- role: wireguard
tags:
- wireguard
when: (wireguard_enabled | default(False))
# TODO: for ubuntu have to disable systemd-resolved service, occupies 53 port
# TODO: for ubuntu - change resolv.conf
- role: blocky
tags:
- blocky
when: (blocky_enabled | default(False))
- role: portainer
tags:
- portainer
when: (portainer_enabled | default(False))
- role: netdata
tags:
- netdata
when: (netdata_enabled | default(False))
- role: whattocommit
tags:
- whattocommit
when: (whattocommit_enabled | default(False))
- role: hemmelig
tags:
- hemmelig
when: (hemmelig_enabled | default(False))
- role: navidrome
tags:
- navidrome
when: (navidrome_enabled | default(False))
- role: vaultwarden
tags:
- vaultwarden
when: (vaultwarden_enabled | default(False))
- role: nextcloud
tags:
- nextcloud
when: (nextcloud_enabled | default(False))
# requires gather_facts: yes
- role: dockovpn
tags:
- dockovpn
when: (dockovpn_enabled | default(False))
- role: geerlingguy.security
tags:
- security
when: (security_enabled | default(False))