diff --git a/group_vars/jitsi_jvb_servers b/group_vars/jitsi_jvb_servers index 67815f7c..84009e2c 100644 --- a/group_vars/jitsi_jvb_servers +++ b/group_vars/jitsi_jvb_servers @@ -2,3 +2,8 @@ jitsi_architecture: "{{ matrix_architecture }}" jitsi_hostname: "{{ matrix_server_fqn_jitsi }}" jitsi_uid: "{{ matrix_user_uid }}" jitsi_gid: "{{ matrix_user_gid }}" + +devture_systemd_service_manager_services_list_auto: | + {{ + ([{'name': (jitsi_identifier + '-jvb.service'), 'priority': 4100, 'groups': ['matrix', 'jitsi', 'jitsi-jvb']}] if jitsi_enabled else []) + }} diff --git a/jitsi_jvb.yml b/jitsi_jvb.yml index 4054d308..1ea63855 100644 --- a/jitsi_jvb.yml +++ b/jitsi_jvb.yml @@ -10,3 +10,6 @@ - custom/matrix-base - galaxy/jitsi - custom/matrix-common-after + + - when: devture_systemd_service_manager_enabled | bool + role: galaxy/com.devture.ansible.role.systemd_service_manager