mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-21 12:14:01 +00:00
Add com.devture.ansible.role.traefik_certs_dumper role
With this, other roles (like Coturn, Postmoogle) will be able to use SSL certificates extracted from Traefik via https://github.com/ldez/traefik-certs-dumper
This commit is contained in:
parent
2b9061a5d3
commit
c07630ed51
@ -38,6 +38,8 @@ matrix_playbook_traefik_role_enabled: false
|
||||
# installed in another way.
|
||||
matrix_playbook_traefik_labels_enabled: false
|
||||
|
||||
matrix_playbook_traefik_certs_dumper_role_enabled: "{{ matrix_playbook_traefik_role_enabled }}"
|
||||
|
||||
# Controls the additional network that reverse-proxyable services will be connected to.
|
||||
matrix_playbook_reverse_proxyable_services_additional_network: "{{ devture_traefik_container_network if devture_traefik_enabled else '' }}"
|
||||
|
||||
@ -344,6 +346,8 @@ devture_systemd_service_manager_services_list_auto: |
|
||||
([{'name': 'matrix-synapse-reverse-proxy-companion.service', 'priority': 1500, 'groups': ['matrix', 'homeservers', 'synapse', 'reverse-proxies']}] if matrix_synapse_reverse_proxy_companion_enabled else [])
|
||||
+
|
||||
([{'name': 'devture-traefik.service', 'priority': 3000, 'groups': ['matrix', 'traefik', 'reverse-proxies']}] if matrix_playbook_traefik_role_enabled else [])
|
||||
+
|
||||
([{'name': (devture_traefik_certs_dumper_identifier + '.service'), 'priority': 3500, 'groups': ['matrix', 'traefik-certs-dumper']}] if matrix_playbook_traefik_certs_dumper_role_enabled else [])
|
||||
}}
|
||||
|
||||
########################################################################
|
||||
@ -3361,3 +3365,29 @@ devture_traefik_additional_entrypoints_auto:
|
||||
# /com.devture.ansible.role.traefik #
|
||||
# #
|
||||
########################################################################
|
||||
|
||||
|
||||
########################################################################
|
||||
# #
|
||||
# com.devture.ansible.role.traefik_certs_dumper #
|
||||
# #
|
||||
########################################################################
|
||||
|
||||
# To completely disable the Traefik certs dumper role from running, use `matrix_playbook_traefik_certs_dumper_role_enabled: false`.
|
||||
# See the comment there for more details about why we have both `devture_traefik_certs_dumper_enabled` and `matrix_playbook_traefik_certs_dumper_role_enabled`.
|
||||
devture_traefik_certs_dumper_enabled: "{{ matrix_playbook_traefik_certs_dumper_role_enabled and devture_traefik_enabled }}"
|
||||
|
||||
devture_traefik_certs_dumper_identifier: matrix-traefik-certs-dumper
|
||||
|
||||
devture_traefik_certs_dumper_base_path: "{{ matrix_base_data_path }}/traefik-certs-dumper"
|
||||
|
||||
devture_traefik_certs_dumper_uid: "{{ matrix_user_uid }}"
|
||||
devture_traefik_certs_dumper_gid: "{{ matrix_user_gid }}"
|
||||
|
||||
devture_traefik_certs_dumper_ssl_dir_path: "{{ devture_traefik_ssl_dir_path }}"
|
||||
|
||||
########################################################################
|
||||
# #
|
||||
# /com.devture.ansible.role.traefik_certs_dumper #
|
||||
# #
|
||||
########################################################################
|
||||
|
@ -118,6 +118,9 @@
|
||||
- when: matrix_playbook_traefik_role_enabled | bool
|
||||
role: galaxy/com.devture.ansible.role.traefik
|
||||
|
||||
- when: matrix_playbook_traefik_certs_dumper_role_enabled | bool
|
||||
role: galaxy/com.devture.ansible.role.traefik_certs_dumper
|
||||
|
||||
- when: devture_systemd_service_manager_enabled | bool
|
||||
role: galaxy/com.devture.ansible.role.systemd_service_manager
|
||||
|
||||
|
@ -37,4 +37,7 @@
|
||||
version: v0.11.1-2
|
||||
|
||||
- src: git+https://github.com/devture/com.devture.ansible.role.traefik.git
|
||||
version: b8609fd07c26c89a72fe2934d183af5fd964bc1c
|
||||
version: c90a0adcdc1de3d00d256e794b095ffbf466bb05
|
||||
|
||||
- src: git+https://github.com/devture/com.devture.ansible.role.traefik_certs_dumper.git
|
||||
version: e7563caa814e634d2f8deec4a41e970caa1c0ae4
|
||||
|
Loading…
Reference in New Issue
Block a user