aurbis access to /opt

This commit is contained in:
mark committed 2026-10-07 18:49:38 +02:00
1 parent 26449924b8
commit 2dc4b4443a
7 files changed
+70 -23

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
- name: Give aurbis write access to {{ tree_path }}
file:
path: "{{ tree_path }}"
state: directory
recurse: true
group: aurbis
mode: g+rwX
- name: Make {{ tree_path }} directories hand their group to new files
ansible.builtin.command:
cmd: "find {{ tree_path }} -type d ! -perm -g+s -print -exec chmod g+s {} +"
register: aurbis_tree_setgid
changed_when: aurbis_tree_setgid.stdout != ""