From b9af4a38ca15c3234c0aaddb24755e81b8ab1c45 Mon Sep 17 00:00:00 2001 From: moanos Date: Tue, 25 Jun 2024 17:29:48 +0200 Subject: [PATCH] feat: Add neko --- templates/group_vars_mash_servers | 39 +++++++++++++++++++++++++++++++ templates/requirements.yml | 4 ++++ templates/setup.yml | 4 ++++ 3 files changed, 47 insertions(+) diff --git a/templates/group_vars_mash_servers b/templates/group_vars_mash_servers index 3767921..ab5853f 100644 --- a/templates/group_vars_mash_servers +++ b/templates/group_vars_mash_servers @@ -434,6 +434,11 @@ mash_playbook_devture_systemd_service_manager_services_list_auto_itemized: {{ ({'name': (navidrome_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'navidrome']} if navidrome_enabled else omit) }} # /role-specific:navidrome + # role-specific:neko + - |- + {{ ({'name': (neko_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'neko']} if neko_enabled else omit) }} + # /role-specific:neko + # role-specific:netbox - |- {{ ({'name': (netbox_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'netbox', 'netbox-server']} if netbox_enabled else omit) }} @@ -3786,6 +3791,40 @@ navidrome_container_labels_traefik_tls_certResolver: "{{ devture_traefik_certRes # /role-specific:navidrome +# role-specific:neko +######################################################################## +# # +# neko # +# # +######################################################################## + +neko_enabled: false + +neko_identifier: "{{ mash_playbook_service_identifier_prefix }}neko" + +neko_uid: "{{ mash_playbook_uid }}" +neko_gid: "{{ mash_playbook_gid }}" + +neko_base_path: "{{ mash_playbook_base_path }}/{{ mash_playbook_service_base_directory_name_prefix }}neko" + +neko_container_additional_networks_auto: | + {{ + ([mash_playbook_reverse_proxyable_services_additional_network] if mash_playbook_reverse_proxyable_services_additional_network else []) + }} + +neko_container_labels_traefik_enabled: "{{ mash_playbook_traefik_labels_enabled }}" +neko_container_labels_traefik_docker_network: "{{ mash_playbook_reverse_proxyable_services_additional_network }}" +neko_container_labels_traefik_entrypoints: "{{ devture_traefik_entrypoint_primary }}" +neko_container_labels_traefik_tls_certResolver: "{{ devture_traefik_certResolver_primary }}" + +######################################################################## +# # +# /neko # +# # +######################################################################## +# /role-specific:neko + + # role-specific:nextcloud ######################################################################## diff --git a/templates/requirements.yml b/templates/requirements.yml index e060ed8..9873e8f 100644 --- a/templates/requirements.yml +++ b/templates/requirements.yml @@ -212,6 +212,10 @@ version: v0.52.5-0 name: navidrome activation_prefix: navidrome_ +- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-neko.git + version: v2.8.12-0 + name: neko + activation_prefix: neko_ - src: git+https://github.com/mother-of-all-self-hosting/ansible-role-netbox.git version: v3.7.0-2.8.0-0 name: netbox diff --git a/templates/setup.yml b/templates/setup.yml index 1d24d4c..42b6d6f 100644 --- a/templates/setup.yml +++ b/templates/setup.yml @@ -275,6 +275,10 @@ - role: galaxy/navidrome # /role-specific:navidrome + # role-specific:neko + - role: galaxy/neko + # /role-specific:neko + # role-specific:netbox - role: galaxy/netbox # /role-specific:netbox