added bazarr, bugfixes

This commit is contained in:
Martin Eichner
2023-05-10 11:18:56 +02:00
parent 331a901d26
commit 9a8d1a707f
6 changed files with 67 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
--- ---
- hosts: 192.168.178.205 - hosts: 192.168.178.200
become: true become: true
roles: roles:
- common - common

View File

@@ -79,11 +79,16 @@ sections:
url: http://192.168.178.200:8080 url: http://192.168.178.200:8080
target: newtab target: newtab
id: 4_1143_sabnzbd id: 4_1143_sabnzbd
- title: bazarr
icon: favicon
url: http://192.168.178.200:6767
target: newtab
id: 5_1143_bazarr
- title: Jellyfin - title: Jellyfin
icon: favicon icon: favicon
url: http://192.168.178.200:8096 url: http://192.168.178.200:8096
target: newtab target: newtab
id: 5_1143_jellyfin id: 6_1143_jellyfin
displayData: displayData:
sortBy: default sortBy: default
rows: 1 rows: 1

View File

@@ -12,12 +12,12 @@
block: block:
- name: somerepo |no apt key - name: somerepo |no apt key
ansible.builtin.get_url: ansible.builtin.get_url:
url: "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${{ ansible_distribution_version }}/Release.key" url: "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_{{ ansible_distribution_version }}/Release.key"
dest: /etc/apt/trusted.gpg.d/podman.asc dest: /etc/apt/trusted.gpg.d/podman.asc
- name: somerepo | apt source - name: somerepo | apt source
ansible.builtin.apt_repository: ansible.builtin.apt_repository:
repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/podman.asc] https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${{ ansible_distribution_version }}/ /" repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/podman.asc] https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_{{ ansible_distribution_version }}/ /"
state: present state: present
- name: Install mediaserver packages - name: Install mediaserver packages
@@ -28,7 +28,7 @@
loop: loop:
- python3-docker - python3-docker
- podman - podman
- podman-plugins #- podman-plugins
- name: Install pip docker-compose - name: Install pip docker-compose
pip: pip:

View File

@@ -17,7 +17,7 @@ services:
environment: environment:
- VPN_ENABLED=yes - VPN_ENABLED=yes
- VPN_USER={{ VPN_USER }} - VPN_USER={{ VPN_USER }}
- VPN_PASS={{ VPN_PW }} - VPN_PASS={{ VPN_PASS }}
- VPN_PROV=pia - VPN_PROV=pia
- VPN_CLIENT=openvpn - VPN_CLIENT=openvpn
- STRICT_PORT_FORWARD=yes - STRICT_PORT_FORWARD=yes

View File

@@ -1,4 +1,8 @@
--- ---
VPN_USER: "p3754227" VPN_USER: "p3754227"
VPN_PASS: "xsZtFdAofY" VPN_PASS: "xsZtFdAofY"
NFS_MOUNTS:
- 192.168.178.201:/mnt/main/martin /mnt/nfs/martin nfs defaults 0 0
- 192.168.178.201:/mnt/main/backups /mnt/nfs/backup nfs defaults 0 0
- 192.168.178.201:/mnt/main/martin/transcodes/transcodes /opt/docker/mediaserver/jelly_config/data/transcodes nfs defaults 0 0
... ...

View File

@@ -1,8 +1,54 @@
--- ---
- hosts: all - hosts: localhost
become: true gather_facts: no
vars:
demo_list:
- ip: 1.2.3.4
id: 1
name: demo1
- ip: 2.2.3.4
id: 2
name: demo2
- ip: 3.2.3.4
id: 3
name: demo3
user_list:
- name: erika
comment: "bla"
id: 1001
- name: max
id: 1002
comment: "jo"
shell: /bin/false
tasks: tasks:
- name: echo - name: the list
command: "echo 'Hello World'" debug:
- name: uptime msg: "{{ user_list }}"
command: "uptime" - name: names
debug:
msg: "{{ item.name }} + {{ item.id }} + {{ item.shell | default('/bin/bash') }}"
loop:
"{{ user_list }}"
# - name: the list
# debug:
# msg: "{{ demo_list }}"
#- name: unflattened list
# debug:
# msg: "{{ item.id }} {{ item.ip }} {{ item.name }}"
#msg: "{{ item.name }}"
# loop:
#"{{ demo_list }}"
#- name: flattened list == unflattened list in this case
# debug:
# msg: "{{ item.id }} {{ item.ip }} {{ item.name }}"
# loop:
# "{{ demo_list | flatten(levels=1) }}"
...