From 18a579271c60c9e7fcb168ea47c1f240d8bf4718 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 20 Mar 2024 16:39:44 +0100 Subject: [PATCH] Fix a conditional. --- tasks/common-users-data-dirs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/common-users-data-dirs.yml b/tasks/common-users-data-dirs.yml index 96b8d13..0d78344 100644 --- a/tasks/common-users-data-dirs.yml +++ b/tasks/common-users-data-dirs.yml @@ -13,7 +13,7 @@ when: - users_system_users is defined - - item.state is not defined or item.state != "present" + - item.state is not defined or item.state == "present" tags: [ 'users', 'users_acl' ] - block: @@ -23,7 +23,7 @@ when: - users_system_users is defined - - item.state is not defined or item.state != "present" + - item.state is not defined or item.state == "present" tags: [ 'users', 'users_acl' ] - block: