Add mediaserver, rm .gitignore, FQCN, Jellyfin
- Added development "mediaserver" playbook for testing - rm .gitignore in roles dir since no external ansible roles are used - Update a part of the base role to use FQCN for linting - Added "jellyfin" role to install Jellyfin with docker-compose - Updated Traefik to use the loopback for default web entry points - Simplified Traefik docker-compose vars, Ansible sets defaults
This commit is contained in:
37
dev/host_vars/mediaserver.yml
Normal file
37
dev/host_vars/mediaserver.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
base_domain: vm.krislamo.org
|
||||
|
||||
# base
|
||||
allow_reboot: false
|
||||
manage_network: false
|
||||
|
||||
# proxy
|
||||
proxy:
|
||||
#production: true
|
||||
dns_cloudflare:
|
||||
opts: --test-cert
|
||||
#email: realemail@example.com
|
||||
#api_token: CLOUDFLARE_DNS01_API_TOKEN
|
||||
wildcard_domains:
|
||||
- "{{ base_domain }}"
|
||||
servers:
|
||||
- domain: "{{ traefik_domain }}"
|
||||
proxy_pass: "http://127.0.0.1:8000"
|
||||
- domain: "{{ jellyfin_domain }}"
|
||||
proxy_pass: "http://127.0.0.1:8000"
|
||||
|
||||
# docker
|
||||
docker_users:
|
||||
- vagrant
|
||||
|
||||
# traefik
|
||||
traefik_version: latest
|
||||
traefik_dashboard: true
|
||||
traefik_domain: "traefik.{{ base_domain }}"
|
||||
traefik_auth: admin:$apr1$T1l.BCFz$Jyg8msXYEAUi3LLH39I9d1 # admin:admin
|
||||
#traefik_acme_email: realemail@example.com # Let's Encrypt settings
|
||||
#traefik_production: true
|
||||
traefik_http_only: true # if behind reverse-proxy
|
||||
|
||||
# jellyfin
|
||||
jellyfin_domain: "jellyfin.{{ base_domain }}"
|
||||
jellyfin_version: latest
|
11
dev/mediaserver.yml
Normal file
11
dev/mediaserver.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: Install Media Server
|
||||
hosts: all
|
||||
become: true
|
||||
vars_files:
|
||||
- host_vars/mediaserver.yml
|
||||
roles:
|
||||
- base
|
||||
- proxy
|
||||
- docker
|
||||
- traefik
|
||||
- jellyfin
|
Reference in New Issue
Block a user