fix permissions

This commit is contained in:
Morten Olsen
2024-10-08 21:25:10 +02:00
parent 134a64b30a
commit 034994e398
16 changed files with 64 additions and 28 deletions

View File

@@ -20,6 +20,7 @@
ansible.builtin.file:
mode: "{{ item.mode }}"
path: "{{ home }}/{{ item.path }}"
owner: "{{ username }}"
state: directory
with_community.general.filetree:
- ../files
@@ -34,6 +35,7 @@
src: "{{ item.src }}"
dest: "{{ home }}/{{ item.path | regex_replace('\\.j2$', '') }}"
mode: "{{ item.mode }}"
owner: "{{ username }}"
with_community.general.filetree:
- ../templates
loop_control:
@@ -47,6 +49,7 @@
src: "{{ item.src }}"
dest: "{{ home }}/{{ item.path }}"
mode: "{{ item.mode }}"
owner: "{{ username }}"
with_community.general.filetree:
- ../files
loop_control: