mirror of
https://github.com/luzifer-ansible/simplefile.git
synced 2024-12-23 02:01: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
|
- name: Create required directories
|
||||||
|
file:
|
||||||
|
dest: '{{ item.dest | dirname }}'
|
||||||
|
recurse: true
|
||||||
|
|
||||||
|
- name: Set permissions for directory
|
||||||
file:
|
file:
|
||||||
dest: '{{ item.dest | dirname }}'
|
dest: '{{ item.dest | dirname }}'
|
||||||
owner: '{{ item.owner | default(omit) }}'
|
owner: '{{ item.owner | default(omit) }}'
|
||||||
group: '{{ item.group | default(omit) }}'
|
group: '{{ item.group | default(omit) }}'
|
||||||
recurse: true
|
|
||||||
|
|
||||||
- name: Write file
|
- name: Write file
|
||||||
copy:
|
copy:
|
||||||
|
|
Loading…
Reference in a new issue