From d4aa54c64eac97482848395d729621255a427227 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <Joerg.Sachse@slub-dresden.de>
Date: Tue, 2 Aug 2022 10:35:30 +0200
Subject: [PATCH] style: don't log passwords (as recommended by linter)

---
 tasks/create_users_groups.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tasks/create_users_groups.yml b/tasks/create_users_groups.yml
index c6627e9..52a5ae2 100644
--- a/tasks/create_users_groups.yml
+++ b/tasks/create_users_groups.yml
@@ -40,6 +40,7 @@
   when:
     - item.value.state == "present"
     - item.key != ansible_user        # we cannot modify the user that is used to make the connection, because the Python process uses it
+  no_log: true
 
 - name: lock HUMAN users
   ansible.builtin.user:
@@ -67,6 +68,7 @@
   when:
     - item.value.state == "present"
     - item.key != ansible_user        # we cannot modify the user that is used to make the connection, because the Python process uses it
+  no_log: true
 
 - name: lock ROBOT users
   ansible.builtin.user:
-- 
GitLab