mg
e3a54fa618
Altes dataset entfernt Dataset sanoid wip Dataset vorerst deaktiviert Dataset in sanoid angelegt Docker und Crypt Shares entfernt ytdl entfernt Test SHare Co-authored-by: Michael Grote <38253905+quotengrote@users.noreply.github.com> Reviewed-on: mg/ansible#21 Co-Authored-By: mg <michael.grote@posteo.de> Co-Committed-By: mg <michael.grote@posteo.de>
80 lines
2.6 KiB
YAML
80 lines
2.6 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') }}"
|
|
smb_freigaben:
|
|
- freigabename: 'videos'
|
|
ordnerpfad: '/shares_videos'
|
|
lese_nutzer: ' kodi'
|
|
schreibe_nutzer: 'annemariedroessler michaelgrote'
|
|
- 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'
|
|
|
|
smb_workgroup: WORKGROUP
|
|
smb_nutzer_loeschen:
|
|
- { name: 'airsonic' }
|
|
### 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
|