From 339f73c2095461a61a02f4f0da22a26f10a90cbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Manuel=20Dom=C3=ADnguez?= <43052541+kysrpex@users.noreply.github.com> Date: Tue, 12 Sep 2023 14:40:07 +0200 Subject: [PATCH] Remove reference to `existing_dir_mode` from the role (#11) This variable is meant to be used only in the tests. --- tasks/systemd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/systemd.yml b/tasks/systemd.yml index df1a790..0adc39b 100644 --- a/tasks/systemd.yml +++ b/tasks/systemd.yml @@ -15,7 +15,7 @@ state: directory owner: "{{ item.instance.user if not item.stat.exists else omit }}" group: "{{ item.instance.group if not item.stat.exists else omit }}" - mode: "{{ existing_dir_mode if not item.stat.exists else omit }}" + mode: "{{ '0770' if not item.stat.exists else omit }}" loop: "{{ __stat_working_directory.results }}" # Using the systemd instance functionality doesn't work here because the user/group cannot be an env var, but should not