2023-03-19 21:10:42 +01:00
# Hubsite
2023-03-19 22:11:21 +01:00
[Hubsite ](https://github.com/moan0s/hubsite ) is will provide you with a simple, static site that shows an overview of the available services.
2023-03-19 21:10:42 +01:00
You can use the following variables to enable & control your hubsite:
```yaml
2023-03-20 11:39:16 +01:00
########################################################################
# #
# hubsite #
# #
########################################################################
2023-03-19 21:10:42 +01:00
hubsite_enabled: true
2023-03-20 11:39:16 +01:00
hubsite_hostname: mash.example.com
2023-03-19 21:10:42 +01:00
hubsite_title: "My services"
hubsite_subtitle: "Just click on a service to use it"
2023-03-20 11:39:16 +01:00
2023-03-19 22:12:01 +01:00
# Use the `hubsite_service_list_additional` variable to add services that are not provided by this playbook
2023-03-24 07:13:33 +01:00
# hubsite_service_list_additional: |
2023-03-19 21:10:42 +01:00
# {{
2023-03-24 07:13:33 +01:00
# ([{'name': 'My blog', 'url': 'https://example.com', 'logo_location': '', 'description': 'A link to a blog not hosted by this playbook', 'priority': 1000 }])
2023-03-19 22:12:01 +01:00
# }}
# If you want to explicitly control which services you want to show on this page you can overwrite
# hubsite_service_list_auto: |
# {{
2023-03-24 07:13:33 +01:00
# ([{'name': 'Miniflux', 'url': hubsite_service_miniflux_url, 'logo_location': '{{ role_path }}/assets/miniflux.png', 'description': 'An opinionated feed reader', 'priority': hubsite_service_miniflux_priority}] if hubsite_service_miniflux_enabled else [])
2023-03-19 21:10:42 +01:00
# +
2023-03-24 07:13:33 +01:00
# ([{'name': 'Uptime Kuma', 'url': hubsite_service_uptime_kuma_url, 'logo_location': '{{ role_path }}/assets/uptime-kuma.png', 'description': 'Check the status of the services', 'priority': hubsite_service_uptime_kuma_priority}] if hubsite_service_uptime_kuma_enabled else [])
2023-03-19 21:10:42 +01:00
# }}
2023-03-20 11:39:16 +01:00
########################################################################
# #
# /hubsite #
# #
########################################################################