homeserver/group_vars/fileserver.yml

87 lines
2.8 KiB
YAML
Raw Normal View History

---
### mgrote.smb_fileserver
2021-02-20 15:58:23 +01:00
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') }}"
2021-01-04 09:51:32 +01:00
- name: 'pve'
2021-02-13 20:00:26 +01:00
password: "{{ lookup('keepass', 'fileserver_smb_user_pve', 'password') }}"
2021-01-08 20:49:13 +01:00
- name: 'brother_ads2700w'
password: "{{ lookup('keepass', 'fileserver_smb_user_brother_ads2700w', 'password') }}"
2021-02-20 15:58:23 +01:00
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 ocrmypdf'
- name: 'replikation'
path: '/shares/replikation'
users_ro: ''
users_rw: 'win10 michaelgrote'
- name: 'amd'
path: '/shares/amd'
users_ro: 'win10 navidrome michaelgrote'
users_rw: 'annemariedroessler'
- 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/proxmox'
users_ro: 'win10 michaelgrote'
users_rw: 'pve'
smb_workgroup: WORKGROUP
2021-02-13 20:00:26 +01:00
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'
2020-12-31 14:39:17 +01:00
from_ip: 192.168.2.0/24
- rule: allow
to_port: 445
comment: 'smb'
2020-12-31 14:39:17 +01:00
from_ip: 192.168.2.0/24
- rule: allow
to_port: 139
comment: 'smb'
2020-12-31 14:39:17 +01:00
from_ip: 192.168.2.0/24