-
Notifications
You must be signed in to change notification settings - Fork 12
/
htpc-server.yml
43 lines (35 loc) · 1.39 KB
/
htpc-server.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
# htpc-server.yml
---
- hosts: fullclient
become: yes
pre_tasks:
# Copy custom/custom.yml.sample to custom/custom.yml
# Update variable values
- name: Load custom variables from custom.yml
include_vars: custom/custom.yml
failed_when: false
roles:
- { role: GR360RY.kodi-client, when: kodi_client_enabled }
- { role: GR360RY.kodi-mysql, when: kodi_mysql_enabled }
- { role: GR360RY.htpc-nas, when: htpc_nas_enabled }
- { role: GR360RY.deluge, when: deluge_enabled }
- { role: GR360RY.sabnzbd, when: sabnzbd_enabled }
- { role: GR360RY.sickrage, when: sickbeard_enabled }
- { role: GR360RY.couchpotato, when: couchpotato_enabled }
- { role: GR360RY.htpc-manager, when: htpc_manager_enabled }
- hosts: headless
become: yes
pre_tasks:
# Copy custom/custom.yml.sample to custom/custom.yml
# Update variable values
- name: Load custom variables from custom.yml
include_vars: custom/custom.yml
failed_when: false
# docker-kodi will also install kodi-mysql and htpc-nas
roles:
- { role: GR360RY.docker-kodi, when: kodi_client_enabled }
- { role: GR360RY.deluge, when: deluge_enabled }
- { role: GR360RY.sabnzbd, when: sabnzbd_enabled }
- { role: GR360RY.sickrage, when: sickbeard_enabled }
- { role: GR360RY.couchpotato, when: couchpotato_enabled }
- { role: GR360RY.htpc-manager, when: htpc_manager_enabled }