From b4004f027e0ebe9a2a27c9d4e3ebeb796c8f921a Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Sun, 15 Oct 2023 22:59:33 +0200 Subject: [PATCH] Fix home directory creation --- playbooks/roles/system/directories/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/roles/system/directories/tasks/main.yml b/playbooks/roles/system/directories/tasks/main.yml index 3cea85d..0dbeb10 100644 --- a/playbooks/roles/system/directories/tasks/main.yml +++ b/playbooks/roles/system/directories/tasks/main.yml @@ -11,6 +11,8 @@ path: "{{ system_etc_home_directory }}" state: "directory" mode: 0755 + when: + system_etc_home_directory is defined when: system_directories_create_etc