97 lines
3.2 KiB
YAML
97 lines
3.2 KiB
YAML
---
|
|
### mgrote.smb_fileserver
|
|
smb_nutzer:
|
|
- name: 'annemariedroessler'
|
|
groups: 'users'
|
|
password: "{{ lookup('keepass', 'fileserver_smb_user_amd', 'password') }}"
|
|
- name: 'restic'
|
|
groups: 'users'
|
|
password: "{{ lookup('keepass', 'fileserver_smb_user_restic', 'password') }}"
|
|
- name: 'win10'
|
|
groups: 'users'
|
|
password: "{{ lookup('keepass', 'fileserver_smb_user_win10', 'password') }}"
|
|
- name: 'kodi'
|
|
groups: 'users'
|
|
password: "{{ lookup('keepass', 'fileserver_smb_user_kodi', 'password') }}"
|
|
- name: 'michaelgrote'
|
|
groups: 'users'
|
|
password: "{{ lookup('keepass', 'fileserver_smb_user_mg', 'password') }}"
|
|
- name: 'navidrome'
|
|
groups: 'users'
|
|
password: "{{ lookup('keepass', 'fileserver_smb_user_navidrome', 'password') }}"
|
|
- name: 'docker'
|
|
groups: 'users'
|
|
password: "{{ lookup('keepass', 'fileserver_smb_user_docker', 'password') }}"
|
|
- name: 'pve'
|
|
groups: 'users'
|
|
password: "{{ lookup('keepass', 'fileserver_smb_user_docker', 'password') }}"
|
|
- name: 'brother_ads2700w'
|
|
groups: 'users'
|
|
password: "{{ lookup('keepass', 'fileserver_smb_user_brother_ads2700w', 'password') }}"
|
|
- name: 'ocrmypdf'
|
|
groups: 'users'
|
|
password: "{{ lookup('keepass', 'fileserver_smb_user_ocrmypdf', 'password') }}"
|
|
smb_freigaben:
|
|
- freigabename: 'videos'
|
|
ordnerpfad: '/shares_videos'
|
|
lese_nutzer: ' kodi'
|
|
schreibe_nutzer: 'annemariedroessler michaelgrote'
|
|
- freigabename: 'scans'
|
|
ordnerpfad: '/shares/scans'
|
|
lese_nutzer: 'annemariedroessler michaelgrote'
|
|
schreibe_nutzer: 'brother_ads2700w ocrmypdf'
|
|
- freigabename: 'ag'
|
|
ordnerpfad: '/shares/ag'
|
|
lese_nutzer: ''
|
|
schreibe_nutzer: 'michaelgrote'
|
|
- freigabename: 'amd'
|
|
ordnerpfad: '/shares/amd'
|
|
lese_nutzer: 'navidrome michaelgrote'
|
|
schreibe_nutzer: 'annemariedroessler'
|
|
- freigabename: 'backup'
|
|
ordnerpfad: '/shares/Backup'
|
|
lese_nutzer: ''
|
|
schreibe_nutzer: 'annemariedroessler restic win10 michaelgrote'
|
|
- freigabename: 'hm'
|
|
ordnerpfad: '/shares/hm'
|
|
lese_nutzer: ''
|
|
schreibe_nutzer: 'michaelgrote'
|
|
- freigabename: 'mg'
|
|
ordnerpfad: '/shares/mg'
|
|
lese_nutzer: ''
|
|
schreibe_nutzer: 'win10 michaelgrote'
|
|
- freigabename: 'musik'
|
|
ordnerpfad: '/shares/Musik'
|
|
lese_nutzer: 'navidrome kodi annemariedroessler '
|
|
schreibe_nutzer: 'win10 michaelgrote'
|
|
- freigabename: 'tmp'
|
|
ordnerpfad: '/shares/tmp'
|
|
lese_nutzer: ''
|
|
schreibe_nutzer: 'kodi annemariedroessler restic win10 michaelgrote'
|
|
- freigabename: 'bilder'
|
|
ordnerpfad: '/shares/bilder'
|
|
lese_nutzer: ''
|
|
schreibe_nutzer: 'annemariedroessler michaelgrote'
|
|
- freigabename: 'proxmox'
|
|
ordnerpfad: '/shares_pve_backup'
|
|
lese_nutzer: 'michaelgrote'
|
|
schreibe_nutzer: 'pve'
|
|
smb_workgroup: WORKGROUP
|
|
smb_nutzer_loeschen:
|
|
- { name: '' }
|
|
|
|
### 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
|