Fix trying to start devture-traefik when not necessarily enabled

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2465
This commit is contained in:
Slavi Pantaleev 2023-02-12 17:14:25 +02:00
parent f1a1ce8a91
commit 972043cfaf

View File

@ -356,7 +356,7 @@ devture_systemd_service_manager_services_list_auto: |
+
([{'name': 'matrix-user-verification-service.service', 'priority': 800, 'groups': ['matrix', 'matrix-user-verification-service']}] if matrix_user_verification_service_enabled else [])
+
([{'name': 'devture-traefik.service', 'priority': 3000, 'groups': ['matrix', 'traefik', 'reverse-proxies']}] if matrix_playbook_traefik_role_enabled else [])
([{'name': 'devture-traefik.service', 'priority': 3000, 'groups': ['matrix', 'traefik', 'reverse-proxies']}] if devture_traefik_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 [])
}}