aurbis access to /opt
This commit is contained in:
1 parent
26449924b8
commit
2dc4b4443a
7 files changed
+70
-23
No files matched your search
@@ -46,15 +46,6 @@
|
||||
register: checkout_pull
|
||||
changed_when: "'updated' in checkout_pull.stdout"
|
||||
when: checkout_update | default(true)
|
||||
- name: Give aurbis write access to {{ checkout_repo }}
|
||||
file:
|
||||
path: "{{ checkout_dest }}"
|
||||
state: directory
|
||||
recurse: true
|
||||
group: aurbis
|
||||
mode: g+rwX
|
||||
- name: Make {{ checkout_repo }} directories hand their group to new files
|
||||
ansible.builtin.command:
|
||||
cmd: "find {{ checkout_dest }} -type d ! -perm -g+s -print -exec chmod g+s {} +"
|
||||
register: checkout_setgid
|
||||
changed_when: checkout_setgid.stdout != ""
|
||||
- import_tasks: aurbis_tree.yml
|
||||
vars:
|
||||
tree_path: "{{ checkout_dest }}"
|
||||
Reference in new issue
Block a user