Skip to content

Commit

Permalink
Merge pull request #6 from 532910/parent-dir
Browse files Browse the repository at this point in the history
don't do useless re-chown
  • Loading branch information
sergio authored Feb 2, 2022
2 parents 0d71052 + 9605b1a commit 8f5dd77
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 8f5dd77

Please sign in to comment.