Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
don't do useless re-chown
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Nemirowski <sergio@nspcc.ru>
  • Loading branch information
Sergio Nemirowski committed Feb 2, 2022
1 parent b0a857f commit 77aeb39
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@
with_items:
- "{{ neofs_ir__data_dir }}"

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

- name: Create configuration directory
ansible.builtin.file:
state: directory
path: "{{ item }}"
owner: 'root'
group: "{{ neofs_ir__group }}"
mode: '0750'
with_items:
Expand Down

0 comments on commit 77aeb39

Please sign in to comment.