-
Notifications
You must be signed in to change notification settings - Fork 0
/
mediaserver.yml
41 lines (35 loc) · 936 Bytes
/
mediaserver.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
---
- hosts: "{{ host }}"
vars_prompt:
- name: "host"
prompt: "Which host(s) would you like to use?"
private: no
vars:
ansible_python_interpreter: python3
nfs_server_ip: 192.168.1.17
# set which user is added to the docker group (and therefore can use docker without root)
# docker_user: ollie
pre_tasks:
- debug: msg="pre_tasks"
roles:
- role: setup
- role: lae.nfs
nfs_mounts:
- path: /mnt/tv
remote_host: "{{ nfs_server_ip }}"
remote_path: /tv
- path: /mnt/films
remote_host: "{{ nfs_server_ip }}"
remote_path: /films
become: yes
- role: emby-docker
tags: [emby, docker]
- role: deluge-docker
tags: [deluge, docker]
- role: nzbget-docker
tags: [nzbget, docker]
- role: medusa-docker
tv_dir: /mnt/tv
tags: [medusa, docker]
tasks:
- debug: msg="tasks"