set directory acl's

todo: sequencing (need reboot, then re-run playbook)
This commit is contained in:
Michael Pellegrino
2021-08-29 12:29:49 -04:00
parent 61569e21b4
commit 54c5369d2c

View File

@@ -68,4 +68,24 @@
group: "{{ samba_group_name }}"
mode: 1770
when: private_dir_exists.stat.exists == False
- name: set acl's on public share
ansible.posix.acl:
path: "{{ public_share_path }}"
entry: "{{ item.entry }}"
state: present
with_items:
- { entry: "user::rwx" }
- { entry: "user:nobody:rwx" }
- { entry: "group::r-x" }
- { entry: "group:domain\ users:rwx" }
- { entry: "mask::rwx" }
- { entry: "other::r-x" }
- { entry: "default:user::rwx" }
- { entry: "default:user:administrator:rwx" }
- { entry: "default:group::r-x" }
- { entry: "default:group:domain\ users:rwx" }
- { entry: "default:group:nogroup:r-x" }
- { entry: "default:mask::rwx" }
- { entry: "default:other::r-x" }