From 234e632f992381c4ab760f179b8a42c1d50cac3d Mon Sep 17 00:00:00 2001 From: Darshit Patel Date: Sat, 15 Jun 2024 20:02:05 +0530 Subject: [PATCH 1/2] Add homepage descriptions and entries for Bazarr, Piwigo, PyLoad, and YoutubeDL Material --- roles/bazarr/tasks/main.yml | 7 +++++++ roles/piwigo/tasks/main.yml | 5 +++++ roles/pyload/tasks/main.yml | 5 +++++ roles/youtubedlmaterial/tasks/main.yml | 5 +++++ 4 files changed, 22 insertions(+) diff --git a/roles/bazarr/tasks/main.yml b/roles/bazarr/tasks/main.yml index 323eca3862..c23fe05805 100644 --- a/roles/bazarr/tasks/main.yml +++ b/roles/bazarr/tasks/main.yml @@ -32,6 +32,13 @@ traefik.http.routers.bazarr.tls.domains[0].main: "{{ ansible_nas_domain }}" traefik.http.routers.bazarr.tls.domains[0].sans: "*.{{ ansible_nas_domain }}" traefik.http.services.bazarr.loadbalancer.server.port: "6767" + homepage.group: Download Tools + homepage.name: Bazarr + homepage.icon: bazarr.png + homepage.href: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ bazarr_port }}" + homepage.description: Manage subtitles + homepage.widget.type: bazarr + homepage.widget.url: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ bazarr_port }}" when: bazarr_enabled is true - name: Stop Bazarr diff --git a/roles/piwigo/tasks/main.yml b/roles/piwigo/tasks/main.yml index 8abdc3c9ec..41bad5e947 100644 --- a/roles/piwigo/tasks/main.yml +++ b/roles/piwigo/tasks/main.yml @@ -59,6 +59,11 @@ traefik.http.routers.piwigo.tls.domains[0].main: "{{ ansible_nas_domain }}" traefik.http.routers.piwigo.tls.domains[0].sans: "*.{{ ansible_nas_domain }}" traefik.http.services.piwigo.loadbalancer.server.port: "80" + homepage.group: Photos + homepage.name: Piwigo + homepage.icon: piwigo.png + homepage.href: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:80" + homepage.description: Photos client when: piwigo_enabled is true - name: Stop Piwigo diff --git a/roles/pyload/tasks/main.yml b/roles/pyload/tasks/main.yml index ac79df537a..9892bfe96c 100644 --- a/roles/pyload/tasks/main.yml +++ b/roles/pyload/tasks/main.yml @@ -33,6 +33,11 @@ traefik.http.routers.pyload.tls.domains[0].main: "{{ ansible_nas_domain }}" traefik.http.routers.pyload.tls.domains[0].sans: "*.{{ ansible_nas_domain }}" traefik.http.services.pyload.loadbalancer.server.port: "8000" + homepage.group: Download Tools + homepage.name: PyLoad + homepage.icon: pyload.png + homepage.href: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ pyload_port }}" + homepage.description: Download client when: pyload_enabled is true - name: Stop pyLoad diff --git a/roles/youtubedlmaterial/tasks/main.yml b/roles/youtubedlmaterial/tasks/main.yml index e98a40c943..dcb871e149 100644 --- a/roles/youtubedlmaterial/tasks/main.yml +++ b/roles/youtubedlmaterial/tasks/main.yml @@ -40,6 +40,11 @@ traefik.http.routers.youtubedlmaterial.tls.domains[0].main: "{{ ansible_nas_domain }}" traefik.http.routers.youtubedlmaterial.tls.domains[0].sans: "*.{{ ansible_nas_domain }}" traefik.http.services.youtubedlmaterial.loadbalancer.server.port: "17442" + homepage.group: Download Tools + homepage.name: YoutubeDL Material + homepage.icon: youtubedl.png + homepage.href: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ youtubedlmaterial_port_http }}" + homepage.description: Youtube downloader client when: youtubedlmaterial_enabled is true - name: Stop Youtubedlmaterial From b327007d78f0f7b623accb5350a9fca88dbee80f Mon Sep 17 00:00:00 2001 From: Darshit Patel Date: Wed, 19 Jun 2024 20:14:58 +0530 Subject: [PATCH 2/2] Change to piwigo_port --- roles/piwigo/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/piwigo/tasks/main.yml b/roles/piwigo/tasks/main.yml index 41bad5e947..7daaaa4991 100644 --- a/roles/piwigo/tasks/main.yml +++ b/roles/piwigo/tasks/main.yml @@ -62,7 +62,7 @@ homepage.group: Photos homepage.name: Piwigo homepage.icon: piwigo.png - homepage.href: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:80" + homepage.href: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ piwigo_port }}" homepage.description: Photos client when: piwigo_enabled is true