From e1fb88c32b422039b317207c37a550b7b58711b2 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Thu, 4 Aug 2022 00:00:11 +0200 Subject: [PATCH] Add asterisk user to the right group --- platon.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/platon.yml b/platon.yml index 0eefe60..20569b3 100644 --- a/platon.yml +++ b/platon.yml @@ -268,6 +268,13 @@ mode: "0644" notify: restart asterisk + - name: Ensure asterisk is in the right groups + ansible.builtin.user: + name: asterisk + groups: audio,i2c,gpio + append: yes + notify: restart asterisk + handlers: - name: restart mosquitto