diff --git a/templates/group_vars_mash_servers b/templates/group_vars_mash_servers index 5d9647b..465bfca 100644 --- a/templates/group_vars_mash_servers +++ b/templates/group_vars_mash_servers @@ -2156,56 +2156,324 @@ hubsite_service_forgejo_description: "Another git service" hubsite_service_forgejo_priority: 1000 # /role-specific:forgejo -hubsite_service_list_auto: | - {{ - ([{'name': hubsite_service_adguard_home_name, 'url': hubsite_service_adguard_home_url, 'logo_location': hubsite_service_adguard_home_logo_location, 'description': hubsite_service_adguard_home_description, 'priority': hubsite_service_adguard_home_priority}] if hubsite_service_adguard_home_enabled else []) - + - ([{'name': hubsite_service_authentik_name, 'url': hubsite_service_authentik_url, 'logo_location': hubsite_service_authentik_logo_location, 'description': hubsite_service_authentik_description, 'priority': hubsite_service_adguard_home_priority}] if hubsite_service_authentik_enabled else []) - + - ([{'name': hubsite_service_appsmith_name, 'url': hubsite_service_appsmith_url, 'logo_location': hubsite_service_appsmith_logo_location, 'description': hubsite_service_appsmith_description, 'priority': hubsite_service_appsmith_priority}] if hubsite_service_appsmith_enabled else []) - + - ([{'name': hubsite_service_docker_registry_browser_name, 'url': hubsite_service_docker_registry_browser_url, 'logo_location': hubsite_service_docker_registry_browser_logo_location, 'description': hubsite_service_docker_registry_browser_description, 'priority': hubsite_service_docker_registry_browser_priority}] if hubsite_service_docker_registry_browser_enabled else []) - + - ([{'name': hubsite_service_firezone_name, 'url': hubsite_service_firezone_url, 'logo_location': hubsite_service_firezone_logo_location, 'description': hubsite_service_firezone_description, 'priority': hubsite_service_firezone_priority}] if hubsite_service_firezone_enabled else []) - + - ([{'name': hubsite_service_focalboard_name, 'url': hubsite_service_focalboard_url, 'logo_location': hubsite_service_focalboard_logo_location, 'description': hubsite_service_focalboard_description, 'priority': hubsite_service_focalboard_priority}] if hubsite_service_focalboard_enabled else []) - + - ([{'name': hubsite_service_freshrss_name, 'url': hubsite_service_freshrss_url, 'logo_location': hubsite_service_freshrss_logo_location, 'description': hubsite_service_freshrss_description, 'priority': hubsite_service_freshrss_priority}] if hubsite_service_freshrss_enabled else []) - + - ([{'name': hubsite_service_funkwhale_name, 'url': hubsite_service_funkwhale_url, 'logo_location': hubsite_service_funkwhale_logo_location, 'description': hubsite_service_funkwhale_description, 'priority': hubsite_service_funkwhale_priority}] if hubsite_service_funkwhale_enabled else []) - + - ([{'name': hubsite_service_gitea_name, 'url': hubsite_service_gitea_url, 'logo_location': hubsite_service_gitea_logo_location, 'description': hubsite_service_gitea_description, 'priority': hubsite_service_gitea_priority}] if hubsite_service_gitea_enabled else []) - + - ([{'name': hubsite_service_gotosocial_name, 'url': hubsite_service_gotosocial_url, 'logo_location': hubsite_service_gotosocial_logo_location, 'description': hubsite_service_gotosocial_description, 'priority': hubsite_service_gotosocial_priority}] if hubsite_service_gotosocial_enabled else []) - + - ([{'name': hubsite_service_grafana_name, 'url': hubsite_service_grafana_url, 'logo_location': hubsite_service_grafana_logo_location, 'description': hubsite_service_grafana_description, 'priority': hubsite_service_grafana_priority}] if hubsite_service_grafana_enabled else []) - + - ([{'name': hubsite_service_healthchecks_name, 'url': hubsite_service_healthchecks_url, 'logo_location': hubsite_service_healthchecks_logo_location, 'description': hubsite_service_healthchecks_description, 'priority': hubsite_service_healthchecks_priority}] if hubsite_service_healthchecks_enabled else []) - + - ([{'name': hubsite_service_keycloak_name, 'url': hubsite_service_keycloak_url, 'logo_location': hubsite_service_keycloak_logo_location, 'description': hubsite_service_keycloak_description, 'priority': hubsite_service_keycloak_priority}] if hubsite_service_keycloak_enabled else []) - + - ([{'name': hubsite_service_miniflux_name, 'url': hubsite_service_miniflux_url, 'logo_location': hubsite_service_miniflux_logo_location, 'description': hubsite_service_miniflux_description, 'priority': hubsite_service_miniflux_priority}] if hubsite_service_miniflux_enabled else []) - + - ([{'name': hubsite_service_n8n_name, 'url': hubsite_service_n8n_url, 'logo_location': hubsite_service_n8n_logo_location, 'description': hubsite_service_n8n_description, 'priority': hubsite_service_n8n_priority}] if hubsite_service_n8n_enabled else []) - + - ([{'name': hubsite_service_nextcloud_name, 'url': hubsite_service_nextcloud_url, 'logo_location': hubsite_service_nextcloud_logo_location, 'description': hubsite_service_nextcloud_description, 'priority': hubsite_service_nextcloud_priority}] if hubsite_service_nextcloud_enabled else []) - + - ([{'name': hubsite_service_linkding_name, 'url': hubsite_service_linkding_url, 'logo_location': hubsite_service_linkding_logo_location, 'description': hubsite_service_linkding_description, 'priority': hubsite_service_linkding_priority}] if hubsite_service_linkding_enabled else []) - + - ([{'name': hubsite_service_owncast_name, 'url': hubsite_service_owncast_url, 'logo_location': hubsite_service_owncast_logo_location, 'description': hubsite_service_owncast_description, 'priority': hubsite_service_owncast_priority}] if hubsite_service_owncast_enabled else []) - + - ([{'name': hubsite_service_peertube_name, 'url': hubsite_service_peertube_url, 'logo_location': hubsite_service_peertube_logo_location, 'description': hubsite_service_peertube_description, 'priority': hubsite_service_peertube_priority}] if hubsite_service_peertube_enabled else []) - + - ([{'name': hubsite_service_radicale_name, 'url': hubsite_service_radicale_url, 'logo_location': hubsite_service_radicale_logo_location, 'description': hubsite_service_radicale_description, 'priority': hubsite_service_radicale_priority}] if hubsite_service_radicale_enabled else []) - + - ([{'name': hubsite_service_uptime_kuma_name, 'url': hubsite_service_uptime_kuma_url, 'logo_location': hubsite_service_uptime_kuma_logo_location, 'description': hubsite_service_uptime_kuma_description, 'priority': hubsite_service_uptime_kuma_priority}] if hubsite_service_uptime_kuma_enabled else []) - + - ([{'name': hubsite_service_syncthing_name, 'url': hubsite_service_syncthing_url, 'logo_location': hubsite_service_syncthing_logo_location, 'description': hubsite_service_syncthing_description, 'priority': hubsite_service_syncthing_priority}] if hubsite_service_syncthing_enabled else []) - + - ([{'name': hubsite_service_vaultwarden_name, 'url': hubsite_service_vaultwarden_url, 'logo_location': hubsite_service_vaultwarden_logo_location, 'description': hubsite_service_vaultwarden_description, 'priority': hubsite_service_vaultwarden_priority}] if hubsite_service_vaultwarden_enabled else []) - + - ([{'name': hubsite_service_woodpecker_ci_name, 'url': hubsite_service_woodpecker_ci_url, 'logo_location': hubsite_service_woodpecker_ci_logo_location, 'description': hubsite_service_woodpecker_ci_description, 'priority': hubsite_service_woodpecker_ci_priority}] if hubsite_service_woodpecker_ci_enabled else []) - }} +mash_playbook_hubsite_service_list_auto_itemized: + # Dummy entry, which is not role-specific. + # Ensures there's at least one entry defined in the list. + - "{{ omit }}" + + # role-specific:adguard_home + - |- + {{ + ({ + 'name': hubsite_service_adguard_home_name, + 'url': hubsite_service_adguard_home_url, + 'logo_location': hubsite_service_adguard_home_logo_location, + 'description': hubsite_service_adguard_home_description, + 'priority': hubsite_service_adguard_home_priority, + } if hubsite_service_adguard_home_enabled else omit) + }} + # /role-specific:adguard_home + + # role-specific:authentik + - |- + {{ + ({ + 'name': hubsite_service_authentik_name, + 'url': hubsite_service_authentik_url, + 'logo_location': hubsite_service_authentik_logo_location, + 'description': hubsite_service_authentik_description, + 'priority': hubsite_service_adguard_home_priority, + } if hubsite_service_authentik_enabled else omit) + }} + # /role-specific:authentik + + # role-specific:appsmith + - |- + {{ + ({ + 'name': hubsite_service_appsmith_name, + 'url': hubsite_service_appsmith_url, + 'logo_location': hubsite_service_appsmith_logo_location, + 'description': hubsite_service_appsmith_description, + 'priority': hubsite_service_appsmith_priority, + } if hubsite_service_appsmith_enabled else omit) + }} + # /role-specific:appsmith + + # role-specific:docker_registry_browser + - |- + {{ + ({ + 'name': hubsite_service_docker_registry_browser_name, + 'url': hubsite_service_docker_registry_browser_url, + 'logo_location': hubsite_service_docker_registry_browser_logo_location, + 'description': hubsite_service_docker_registry_browser_description, + 'priority': hubsite_service_docker_registry_browser_priority, + } if hubsite_service_docker_registry_browser_enabled else omit) + }} + # /role-specific:docker_registry_browser + + # role-specific:firezone + - |- + {{ + ({ + 'name': hubsite_service_firezone_name, + 'url': hubsite_service_firezone_url, + 'logo_location': hubsite_service_firezone_logo_location, + 'description': hubsite_service_firezone_description, + 'priority': hubsite_service_firezone_priority, + } if hubsite_service_firezone_enabled else omit) + }} + # /role-specific:firezone + + # role-specific:focalboard + - |- + {{ + ({ + 'name': hubsite_service_focalboard_name, + 'url': hubsite_service_focalboard_url, + 'logo_location': hubsite_service_focalboard_logo_location, + 'description': hubsite_service_focalboard_description, + 'priority': hubsite_service_focalboard_priority, + } if hubsite_service_focalboard_enabled else omit) + }} + # /role-specific:focalboard + + # role-specific:freshrss + - |- + {{ + ({ + 'name': hubsite_service_freshrss_name, + 'url': hubsite_service_freshrss_url, + 'logo_location': hubsite_service_freshrss_logo_location, + 'description': hubsite_service_freshrss_description, + 'priority': hubsite_service_freshrss_priority, + } if hubsite_service_freshrss_enabled else omit) + }} + # /role-specific:freshrss + + # role-specific:funkwhale + - |- + {{ + ({ + 'name': hubsite_service_funkwhale_name, + 'url': hubsite_service_funkwhale_url, + 'logo_location': hubsite_service_funkwhale_logo_location, + 'description': hubsite_service_funkwhale_description, + 'priority': hubsite_service_funkwhale_priority, + } if hubsite_service_funkwhale_enabled else omit) + }} + # /role-specific:funkwhale + + # role-specific:gitea + - |- + {{ + ({ + 'name': hubsite_service_gitea_name, + 'url': hubsite_service_gitea_url, + 'logo_location': hubsite_service_gitea_logo_location, + 'description': hubsite_service_gitea_description, + 'priority': hubsite_service_gitea_priority, + } if hubsite_service_gitea_enabled else omit) + }} + # /role-specific:gitea + + # role-specific:gotosocial + - |- + {{ + ({ + 'name': hubsite_service_gotosocial_name, + 'url': hubsite_service_gotosocial_url, + 'logo_location': hubsite_service_gotosocial_logo_location, + 'description': hubsite_service_gotosocial_description, + 'priority': hubsite_service_gotosocial_priority, + } if hubsite_service_gotosocial_enabled else omit) + }} + # /role-specific:gotosocial + + # role-specific:grafana + - |- + {{ + ({ + 'name': hubsite_service_grafana_name, + 'url': hubsite_service_grafana_url, + 'logo_location': hubsite_service_grafana_logo_location, + 'description': hubsite_service_grafana_description, + 'priority': hubsite_service_grafana_priority, + } if hubsite_service_grafana_enabled else omit) + }} + # /role-specific:grafana + + # role-specific:healthchecks + - |- + {{ + ({ + 'name': hubsite_service_healthchecks_name, + 'url': hubsite_service_healthchecks_url, + 'logo_location': hubsite_service_healthchecks_logo_location, + 'description': hubsite_service_healthchecks_description, + 'priority': hubsite_service_healthchecks_priority, + } if hubsite_service_healthchecks_enabled else omit) + }} + # /role-specific:healthchecks + + # role-specific:keycloak + - |- + {{ + ({ + 'name': hubsite_service_keycloak_name, + 'url': hubsite_service_keycloak_url, + 'logo_location': hubsite_service_keycloak_logo_location, + 'description': hubsite_service_keycloak_description, + 'priority': hubsite_service_keycloak_priority, + } if hubsite_service_keycloak_enabled else omit) + }} + # /role-specific:keycloak + + # role-specific:miniflux + - |- + {{ + ({ + 'name': hubsite_service_miniflux_name, + 'url': hubsite_service_miniflux_url, + 'logo_location': hubsite_service_miniflux_logo_location, + 'description': hubsite_service_miniflux_description, + 'priority': hubsite_service_miniflux_priority, + } if hubsite_service_miniflux_enabled else omit) + }} + # /role-specific:miniflux + + # role-specific:n8n + - |- + {{ + ({ + 'name': hubsite_service_n8n_name, + 'url': hubsite_service_n8n_url, + 'logo_location': hubsite_service_n8n_logo_location, + 'description': hubsite_service_n8n_description, + 'priority': hubsite_service_n8n_priority, + } if hubsite_service_n8n_enabled else omit) + }} + # /role-specific:n8n + + # role-specific:nextcloud + - |- + {{ + ({ + 'name': hubsite_service_nextcloud_name, + 'url': hubsite_service_nextcloud_url, + 'logo_location': hubsite_service_nextcloud_logo_location, + 'description': hubsite_service_nextcloud_description, + 'priority': hubsite_service_nextcloud_priority, + } if hubsite_service_nextcloud_enabled else omit) + }} + # /role-specific:nextcloud + + # role-specific:linkding + - |- + {{ + ({ + 'name': hubsite_service_linkding_name, + 'url': hubsite_service_linkding_url, + 'logo_location': hubsite_service_linkding_logo_location, + 'description': hubsite_service_linkding_description, + 'priority': hubsite_service_linkding_priority, + } if hubsite_service_linkding_enabled else omit) + }} + # /role-specific:linkding + + # role-specific:owncast + - |- + {{ + ({ + 'name': hubsite_service_owncast_name, + 'url': hubsite_service_owncast_url, + 'logo_location': hubsite_service_owncast_logo_location, + 'description': hubsite_service_owncast_description, + 'priority': hubsite_service_owncast_priority, + } if hubsite_service_owncast_enabled else omit) + }} + # /role-specific:owncast + + # role-specific:peertube + - |- + {{ + ({ + 'name': hubsite_service_peertube_name, + 'url': hubsite_service_peertube_url, + 'logo_location': hubsite_service_peertube_logo_location, + 'description': hubsite_service_peertube_description, + 'priority': hubsite_service_peertube_priority, + } if hubsite_service_peertube_enabled else omit) + }} + # /role-specific:peertube + + # role-specific:radicale + - |- + {{ + ({ + 'name': hubsite_service_radicale_name, + 'url': hubsite_service_radicale_url, + 'logo_location': hubsite_service_radicale_logo_location, + 'description': hubsite_service_radicale_description, + 'priority': hubsite_service_radicale_priority, + } if hubsite_service_radicale_enabled else omit) + }} + # /role-specific:radicale + + # role-specific:uptime_kuma + - |- + {{ + ({ + 'name': hubsite_service_uptime_kuma_name, + 'url': hubsite_service_uptime_kuma_url, + 'logo_location': hubsite_service_uptime_kuma_logo_location, + 'description': hubsite_service_uptime_kuma_description, + 'priority': hubsite_service_uptime_kuma_priority, + } if hubsite_service_uptime_kuma_enabled else omit) + }} + # /role-specific:uptime_kuma + + # role-specific:syncthing + - |- + {{ + ({ + 'name': hubsite_service_syncthing_name, + 'url': hubsite_service_syncthing_url, + 'logo_location': hubsite_service_syncthing_logo_location, + 'description': hubsite_service_syncthing_description, + 'priority': hubsite_service_syncthing_priority + } if hubsite_service_syncthing_enabled else omit) + }} + # /role-specific:syncthing + + # role-specific:vaultwarden + - |- + {{ + ({ + 'name': hubsite_service_vaultwarden_name, + 'url': hubsite_service_vaultwarden_url, + 'logo_location': hubsite_service_vaultwarden_logo_location, + 'description': hubsite_service_vaultwarden_description, + 'priority': hubsite_service_vaultwarden_priority + } if hubsite_service_vaultwarden_enabled else omit) + }} + # /role-specific:vaultwarden + + # role-specific:woodpecker_ci_server + - |- + {{ + ({ + 'name': hubsite_service_woodpecker_ci_name, + 'url': hubsite_service_woodpecker_ci_url, + 'logo_location': hubsite_service_woodpecker_ci_logo_location, + 'description': hubsite_service_woodpecker_ci_description, + 'priority': hubsite_service_woodpecker_ci_priority + } if hubsite_service_woodpecker_ci_enabled else omit) + }} + # /role-specific:woodpecker_ci_server + +hubsite_service_list_auto: "{{ mash_playbook_hubsite_service_list_auto_itemized | reject('equalto', omit) }}" ######################################################################## # #