Skip to content

Commit

Permalink
Remove reference to existing_dir_mode from the role (#11)
Browse files Browse the repository at this point in the history
This variable is meant to be used only in the tests.
  • Loading branch information
kysrpex authored Sep 12, 2023
1 parent 22c0457 commit 339f73c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/systemd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 339f73c

Please sign in to comment.