Skip to content
Snippets Groups Projects
Commit 2a037609 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: don't overwrite permissions for import user

parent 98b8d4b6
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
find: find:
file_type: directory file_type: directory
paths: "/home/" paths: "/home/"
excludes: 'import'
register: ls_out register: ls_out
- name: striktere Berechtigungen für Homeverzeichnisse setzen - name: striktere Berechtigungen für Homeverzeichnisse setzen
file: file:
...@@ -13,3 +14,4 @@ ...@@ -13,3 +14,4 @@
with_items: with_items:
# - "{{ ls_out.files | difference(['import','zih']) }}" # - "{{ ls_out.files | difference(['import','zih']) }}"
- "{{ ls_out.files }}" - "{{ ls_out.files }}"
when: item.path not in "import"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment