From f9a47d5f10ad55b2ba44474e1cf13e68f985e8d8 Mon Sep 17 00:00:00 2001 From: Daniele Tricoli Date: Thu, 27 May 2021 06:07:43 +0200 Subject: [PATCH] Change owner of passwd file to mosquitto In bullseye this is the user running it. --- roles/mosquitto/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mosquitto/tasks/main.yml b/roles/mosquitto/tasks/main.yml index d75122c..09ee7d4 100644 --- a/roles/mosquitto/tasks/main.yml +++ b/roles/mosquitto/tasks/main.yml @@ -19,7 +19,7 @@ - name: ensure /etc/mosquitto/passwd has restrictive persmissions file: path: /etc/mosquitto/passwd - owner: root + owner: mosquitto group: root mode: 0640