mirror of
https://github.com/luzifer-ansible/simplefile.git
synced 2024-12-22 17:51:17 +00:00
Fix: Do not modify permissions recusively
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
5ad840d34e
commit
11702ab8cb
1 changed files with 5 additions and 1 deletions
|
@ -1,11 +1,15 @@
|
|||
---
|
||||
|
||||
- name: Create required directories
|
||||
file:
|
||||
dest: '{{ item.dest | dirname }}'
|
||||
recurse: true
|
||||
|
||||
- name: Set permissions for directory
|
||||
file:
|
||||
dest: '{{ item.dest | dirname }}'
|
||||
owner: '{{ item.owner | default(omit) }}'
|
||||
group: '{{ item.group | default(omit) }}'
|
||||
recurse: true
|
||||
|
||||
- name: Write file
|
||||
copy:
|
||||
|
|
Loading…
Reference in a new issue