Add ilmo
This commit is contained in:
parent
10531ab51c
commit
5d5e4ab7ba
3 changed files with 62 additions and 0 deletions
|
@ -113,6 +113,8 @@ devture_systemd_service_manager_services_list_auto: |
|
||||||
+
|
+
|
||||||
([{'name': (gotosocial_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'gotosocial']}] if gotosocial_enabled else [])
|
([{'name': (gotosocial_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'gotosocial']}] if gotosocial_enabled else [])
|
||||||
+
|
+
|
||||||
|
([{'name': (ilmo_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'ilmo']}] if ilmo_enabled else [])
|
||||||
|
+
|
||||||
([{'name': (mobilizon_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'mobilizon']}] if mobilizon_enabled else [])
|
([{'name': (mobilizon_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'mobilizon']}] if mobilizon_enabled else [])
|
||||||
+
|
+
|
||||||
([{'name': (grafana_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'grafana']}] if grafana_enabled else [])
|
([{'name': (grafana_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'grafana']}] if grafana_enabled else [])
|
||||||
|
@ -281,6 +283,12 @@ devture_postgres_managed_databases_auto: |
|
||||||
'password': gotosocial_database_password,
|
'password': gotosocial_database_password,
|
||||||
}] if gotosocial_enabled else [])
|
}] if gotosocial_enabled else [])
|
||||||
+
|
+
|
||||||
|
([{
|
||||||
|
'name': ilmo_database_name,
|
||||||
|
'username': ilmo_database_username,
|
||||||
|
'password': ilmo_database_password,
|
||||||
|
}] if ilmo_enabled else [])
|
||||||
|
+
|
||||||
([{
|
([{
|
||||||
'name': keycloak_database_name,
|
'name': keycloak_database_name,
|
||||||
'username': keycloak_database_username,
|
'username': keycloak_database_username,
|
||||||
|
@ -1426,6 +1434,55 @@ hubsite_service_list_auto: |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
########################################################################
|
||||||
|
# #
|
||||||
|
# ilmo #
|
||||||
|
# #
|
||||||
|
########################################################################
|
||||||
|
|
||||||
|
ilmo_enabled: false
|
||||||
|
|
||||||
|
ilmo_identifier: "{{ mash_playbook_service_identifier_prefix }}ilmo"
|
||||||
|
|
||||||
|
ilmo_base_path: "{{ mash_playbook_base_path }}/{{ mash_playbook_service_base_directory_name_prefix }}ilmo"
|
||||||
|
|
||||||
|
ilmo_uid: "{{ mash_playbook_uid }}"
|
||||||
|
ilmo_gid: "{{ mash_playbook_gid }}"
|
||||||
|
|
||||||
|
ilmo_secret: "{{ '%s' | format(mash_playbook_generic_secret_key) | password_hash('sha512', 'secret.ilmo', rounds=655555) | to_uuid }}"
|
||||||
|
|
||||||
|
ilmo_database_host: "{{ devture_postgres_identifier if devture_postgres_enabled else '' }}"
|
||||||
|
ilmo_database_port: "{{ '5432' if devture_postgres_enabled else '' }}"
|
||||||
|
ilmo_database_password: "{{ '%s' | format(mash_playbook_generic_secret_key) | password_hash('sha512', 'db.ilmo', rounds=655555) | to_uuid }}"
|
||||||
|
ilmo_database_username: "ilmo"
|
||||||
|
|
||||||
|
ilmo_systemd_required_services_list: |
|
||||||
|
{{
|
||||||
|
(['docker.service'])
|
||||||
|
+
|
||||||
|
([devture_postgres_identifier ~ '.service'] if devture_postgres_enabled and ilmo_database_host == devture_postgres_identifier else [])
|
||||||
|
}}
|
||||||
|
|
||||||
|
ilmo_container_additional_networks: |
|
||||||
|
{{
|
||||||
|
([mash_playbook_reverse_proxyable_services_additional_network] if mash_playbook_reverse_proxyable_services_additional_network else [])
|
||||||
|
+
|
||||||
|
([devture_postgres_container_network] if devture_postgres_enabled and ilmo_database_host == devture_postgres_identifier and ilmo_container_network != devture_postgres_container_network else [])
|
||||||
|
}}
|
||||||
|
|
||||||
|
ilmo_container_labels_traefik_enabled: "{{ mash_playbook_traefik_labels_enabled }}"
|
||||||
|
ilmo_container_labels_traefik_docker_network: "{{ mash_playbook_reverse_proxyable_services_additional_network }}"
|
||||||
|
ilmo_container_labels_traefik_entrypoints: "{{ devture_traefik_entrypoint_primary }}"
|
||||||
|
ilmo_container_labels_traefik_tls_certResolver: "{{ devture_traefik_certResolver_primary }}"
|
||||||
|
|
||||||
|
########################################################################
|
||||||
|
# #
|
||||||
|
# /ilmo #
|
||||||
|
# #
|
||||||
|
########################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# #
|
# #
|
||||||
# infisical #
|
# infisical #
|
||||||
|
|
|
@ -83,6 +83,9 @@
|
||||||
- src: git+https://github.com/moan0s/hubsite.git
|
- src: git+https://github.com/moan0s/hubsite.git
|
||||||
version: v1.23.3-2
|
version: v1.23.3-2
|
||||||
name: hubsite
|
name: hubsite
|
||||||
|
- src: git+https://github.com/moan0s/ansible-role-ilmo.git
|
||||||
|
version: v1.0.1-0
|
||||||
|
name: ilmo
|
||||||
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-infisical.git
|
- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-infisical.git
|
||||||
version: v0.3.8-4
|
version: v0.3.8-4
|
||||||
name: infisical
|
name: infisical
|
||||||
|
|
|
@ -96,6 +96,8 @@
|
||||||
|
|
||||||
- role: galaxy/hubsite
|
- role: galaxy/hubsite
|
||||||
|
|
||||||
|
- role: galaxy/ilmo
|
||||||
|
|
||||||
- role: galaxy/influxdb
|
- role: galaxy/influxdb
|
||||||
|
|
||||||
- role: galaxy/jitsi
|
- role: galaxy/jitsi
|
||||||
|
|
Loading…
Reference in a new issue