mirror of
https://github.com/mother-of-all-self-hosting/mash-playbook
synced 2024-11-12 23:27:14 +00:00
Add more fine control of service list + conventions
This commit is contained in:
parent
2266b595b6
commit
e0efd68c6f
3 changed files with 11 additions and 5 deletions
|
@ -9,11 +9,17 @@ hubsite_enabled: true
|
||||||
hubsite_domain: "example.com"
|
hubsite_domain: "example.com"
|
||||||
hubsite_title: "My services"
|
hubsite_title: "My services"
|
||||||
hubsite_subtitle: "Just click on a service to use it"
|
hubsite_subtitle: "Just click on a service to use it"
|
||||||
# Use the `hubsite_service_list` variable to only enable services you want to show on this page
|
# Use the `hubsite_service_list_additional` variable to add services that are not provided by this playbook
|
||||||
# hubsite_service_list: |
|
# hubsite_service_list: |
|
||||||
# {{
|
# {{
|
||||||
# ([{'name': 'Miniflux', 'logo_location': '{{ role_path }}/assets/miniflux.png', 'description': 'An opinionated feed reader '}] if miniflux_enabled else [])
|
# ([{'name': 'My blog', 'logo_location': '', 'description': 'A link to a blog not hosted by this playbook'}])
|
||||||
|
# }}
|
||||||
|
|
||||||
|
# If you want to explicitly control which services you want to show on this page you can overwrite
|
||||||
|
# hubsite_service_list_auto: |
|
||||||
|
# {{
|
||||||
|
# ([{'name': 'Miniflux', 'logo_location': '{{ role_path }}/assets/miniflux.png', 'description': 'An opinionated feed reader '}])
|
||||||
# +
|
# +
|
||||||
# ([{'name': 'Uptime Kuma', 'logo_location': '{{ role_path }}/assets/uptime-kuma.png', 'description': 'Check if the status of services'}] if uptime_kuma_enabled else [])
|
# ([{'name': 'Uptime Kuma', 'logo_location': '{{ role_path }}/assets/uptime-kuma.png', 'description': 'Check if the status of services'}])
|
||||||
# }}
|
# }}
|
||||||
```
|
```
|
||||||
|
|
|
@ -982,7 +982,7 @@ devture_woodpecker_ci_agent_config_agent_secret: "{{ devture_woodpecker_ci_serve
|
||||||
|
|
||||||
hubsite_enabled: false
|
hubsite_enabled: false
|
||||||
|
|
||||||
hubsite_service_list: |
|
hubsite_service_list_auto: |
|
||||||
{{
|
{{
|
||||||
([{'name': 'Miniflux', 'url': 'https://' + miniflux_hostname + miniflux_path_prefix, 'logo_location': '{{ role_path }}/assets/miniflux.png', 'description': 'An opinionated feed reader '}] if miniflux_enabled else [])
|
([{'name': 'Miniflux', 'url': 'https://' + miniflux_hostname + miniflux_path_prefix, 'logo_location': '{{ role_path }}/assets/miniflux.png', 'description': 'An opinionated feed reader '}] if miniflux_enabled else [])
|
||||||
+
|
+
|
||||||
|
|
|
@ -103,4 +103,4 @@
|
||||||
|
|
||||||
- src: git+https://github.com/moan0s/hubsite.git
|
- src: git+https://github.com/moan0s/hubsite.git
|
||||||
name: hubsite
|
name: hubsite
|
||||||
version: ac7607b514c998779946a5ae8c98bea27e167f49
|
version: 70fc142309b258cffdc1b447f7f3cca809b948d5
|
||||||
|
|
Loading…
Reference in a new issue