homeserver/group_vars/fileserver.yml
mg 193555cfeb win10 Schreibrechte für ale shares (#55)
win10 Schreibrechte für ale shares

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#55
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-03-30 07:42:29 +02:00

94 lines
3.1 KiB
YAML

---
# Bind Mounts
# pct set 109 -mp0 /hdd_data_raidz/videos,mp=/shares_videos
# pct set 109 -mp1 /hdd_data_raidz/data_crypt,mp=/shares
# pct set 109 -mp2 /hdd_data_raidz/pve_backup,mp=/shares_pve_backup
# pct set 109 -mp3 /hdd_data_raidz/papa_backup,mp=/shares_papa_backup
### geerlingguy.munin-node
munin_node_remove_plugins:
- name: sensors
### mgrote.smb_fileserver
smb_users:
- name: 'annemariedroessler'
password: "{{ lookup('keepass', 'fileserver_smb_user_amd', 'password') }}"
- name: 'restic'
password: "{{ lookup('keepass', 'fileserver_smb_user_restic', 'password') }}"
- name: 'win10'
password: "{{ lookup('keepass', 'fileserver_smb_user_win10', 'password') }}"
- name: 'kodi'
password: "{{ lookup('keepass', 'fileserver_smb_user_kodi', 'password') }}"
- name: 'michaelgrote'
password: "{{ lookup('keepass', 'fileserver_smb_user_mg', 'password') }}"
- name: 'navidrome'
password: "{{ lookup('keepass', 'fileserver_smb_user_navidrome', 'password') }}"
- name: 'docker'
password: "{{ lookup('keepass', 'fileserver_smb_user_docker', 'password') }}"
- name: 'pve'
password: "{{ lookup('keepass', 'fileserver_smb_user_pve', 'password') }}"
- name: 'brother_ads2700w'
password: "{{ lookup('keepass', 'fileserver_smb_user_brother_ads2700w', 'password') }}"
smb_shares:
- name: 'videos'
path: '/shares_videos'
users_ro: ' win10 kodi'
users_rw: 'annemariedroessler michaelgrote'
- name: 'scans'
path: '/shares/scans'
users_ro: 'annemariedroessler michaelgrote'
users_rw: 'brother_ads2700w'
- name: 'papa_backup'
path: '/shares_papa_backup'
users_ro: ''
users_rw: 'win10 michaelgrote'
- name: 'amd'
path: '/shares/amd'
users_ro: 'navidrome michaelgrote'
users_rw: 'annemariedroessler win10'
- name: 'backup'
path: '/shares/Backup'
users_ro: ''
users_rw: 'annemariedroessler restic win10 michaelgrote'
- name: 'hm'
path: '/shares/hm'
users_ro: 'win10'
users_rw: 'michaelgrote'
- name: 'mg'
path: '/shares/mg'
users_ro: ''
users_rw: 'win10 michaelgrote'
- name: 'musik'
path: '/shares/Musik'
users_ro: 'navidrome kodi annemariedroessler '
users_rw: 'win10 michaelgrote'
- name: 'tmp'
path: '/shares/tmp'
users_ro: 'win10'
users_rw: 'kodi annemariedroessler restic win10 michaelgrote'
- name: 'bilder'
path: '/shares/bilder'
users_ro: 'win10'
users_rw: 'annemariedroessler michaelgrote'
- name: 'proxmox'
path: '/shares_pve_backup'
users_ro: 'michaelgrote'
users_rw: 'pve win10'
smb_workgroup: WORKGROUP
smb_min_protocol: "SMB2"
smb_client_min_protocol: "SMB2"
smb_client_max_protocol: "SMB3_11"
### oefenweb.ufw
ufw_rules:
- rule: allow
to_port: 22
protocol: tcp
comment: 'ssh'
from_ip: 192.168.2.0/24
- rule: allow
to_port: 445
comment: 'smb'
from_ip: 192.168.2.0/24
- rule: allow
to_port: 139
comment: 'smb'
from_ip: 192.168.2.0/24