NFS, zfs, samba and docker

This commit is contained in:
git
2024-02-13 13:04:02 +01:00
parent ec0a0774a7
commit 77dffb383d
67 changed files with 831 additions and 30 deletions

View File

@@ -0,0 +1,21 @@
---
# tasks file for create_samba_user
- name: Create
ansible.builtin.blockinfile:
state: present
owner: root
group: root
insertafter: EOF
path: /etc/samba/smb.conf
mode: '0644'
block: |
[{{ samba_user }}]
comment = {{ samba_user }} samba
path = {{ samba_mountpoint }}
browseable = yes
writeable = yes
read only = no
create mask = 0700
directory mask = 0700
valid users = {{ samba_user }}
notify: smb restart