From 58a21c5d68f0676af207c3321781f4d59f3ded7f Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Sun, 31 Mar 2024 12:39:46 +0200 Subject: [PATCH] Enable systemd unit file for coturn. --- roles/role_deploy_coturn/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/role_deploy_coturn/tasks/main.yml b/roles/role_deploy_coturn/tasks/main.yml index 21e9f3a..c022bc6 100644 --- a/roles/role_deploy_coturn/tasks/main.yml +++ b/roles/role_deploy_coturn/tasks/main.yml @@ -45,8 +45,16 @@ - "--stale-nonce" - "--no-multicast-peers" recreate: "{{ image is changed }}" + state: present network: - host generate_systemd: path: /etc/systemd/system become: true + +- name: start/enable container service + ansible.builtin.systemd: + daemon-reload: true + name: container-coturn + state: started + enabled: true