Skip to content

Commit

Permalink
don't do useless re-chown
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Nemirowski <[email protected]>
  • Loading branch information
Sergio Nemirowski committed Feb 1, 2022
1 parent 0d71052 commit 9605b1a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@
group: "{{ neogo__group }}"
mode: '0750'

- name: Ensure configuration directory exists
- name: Create configuration directory parent
ansible.builtin.file:
state: directory
path: "{{ neogo__conf_dir | realpath | dirname }}"
owner: 'root'
group: 'root'
mode: '0755'

- name: Create configuration directory
ansible.builtin.file:
state: directory
path: "{{ neogo__conf_dir }}"
Expand Down

0 comments on commit 9605b1a

Please sign in to comment.