From 75828feccc024734941e0a336d88e3fdfbc8aba9 Mon Sep 17 00:00:00 2001 From: mg Date: Wed, 15 Dec 2021 08:23:47 +0100 Subject: [PATCH] =?UTF-8?q?Rolle:=20fileserver=5Fsmb:=20=C3=BCberfl=C3=BCs?= =?UTF-8?q?sige=20Leerzeichen=20entfernt=20(#279)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Michael Grote Reviewed-on: https://git.mgrote.net/mg/ansible/pulls/279 Co-authored-by: mg Co-committed-by: mg --- roles/mgrote.fileserver_smb/README.md | 28 ++++----- roles/mgrote.fileserver_smb/defaults/main.yml | 60 +++++++++---------- 2 files changed, 44 insertions(+), 44 deletions(-) diff --git a/roles/mgrote.fileserver_smb/README.md b/roles/mgrote.fileserver_smb/README.md index 7b34e550..b9ceb9cf 100644 --- a/roles/mgrote.fileserver_smb/README.md +++ b/roles/mgrote.fileserver_smb/README.md @@ -48,21 +48,21 @@ SMB3_11: Windows 10 technical preview SMB3 version (maybe final). users_ro: ' win10 kodi' # Nutzer - Lesezugriff users_rw: 'annemariedroessler michaelgrote' # Nutzer - Schreibzugriff # Optional(+default-values) - item.guest_ok: "no" - item.read_only: "no" + item.guest ok: "no" + item.read only: "no" browseable: "yes" - inherit_acls: "yes" - inherit_permissions: "no" - ea_support: "no" - store_dos_attributes: "no" - printable: "n"o - create_mask: "0664" - force_create_mode: "0664" - directory_mask: "0775" - force_directory_mode: "0775" - hide_special_files: "yes" - follow_symlinks: "yes" - hide_dot_files: "no" + inherit acls: "yes" + inherit permissions: "no" + ea support: "no" + store dos attributes: "no" + printable: "no" + create mask: "0664" + force create mode: "0664" + directory mask: "0775" + force directory_mode: "0775" + hide special files: "yes" + follow symlinks: "yes" + hide dot files: "no" ``` ### weitere Variablen + Defaults diff --git a/roles/mgrote.fileserver_smb/defaults/main.yml b/roles/mgrote.fileserver_smb/defaults/main.yml index 3996f9ac..5c9932ea 100644 --- a/roles/mgrote.fileserver_smb/defaults/main.yml +++ b/roles/mgrote.fileserver_smb/defaults/main.yml @@ -5,69 +5,69 @@ ## value: "smbd value" <-- value ## neue Optionen konnen einfach angehangen werden bzw. alte entfernt werden smb_global_options: - - option: min_protocol + - option: min protocol value: "SMB2_02" - - option: client_min_protocol + - option: client min protocol value: "SMB2_02" - - option: client_max_protocol + - option: client max protocol value: "SMB3_00" - - option: log_level + - option: log level value: "1" - - option: log_file + - option: log file value: "/var/log/samba/log" - - option: max_log_size + - option: max log size value: "1000" - option: logging value: "syslog" - - option: panic_action + - option: panic action value: "/usr/share/samba/panic-action_%d" - - option: passdb_backend + - option: passdb backend value: "tdbsam" - - option: obey_pam_restrictions + - option: obey pam restrictions value: "no" - - option: unix_password_sync + - option: unix password sync value: "no" - - option: passwd_program + - option: passwd program value: "/usr/bin/passwd_%u" - - option: passwd_chat + - option: passwd chat value: '*Enter\snew\s*\spassword:*_%n\n_*Retype\snew\s*\spassword:*_%n\n_*password\supdated\ssuccessfully*_.' - - option: pam_password_change + - option: pam password change value: "yes" - - option: guest_account + - option: guest account value: "nobody" - - option: load_printers + - option: load printers value: "no" - - option: unix_extensions + - option: unix extensions value: "yes" - - option: wide_links + - option: wide links value: "no" - - option: create_mask + - option: create mask value: "0777" - - option: directory_mask + - option: directory mask value: "0777" - - option: map_to_guest + - option: map to guest value: "Bad User" - - option: use_sendfile + - option: use sendfile value: "yes" - - option: aio_read_size + - option: aio read size value: "16384" - - option: aio_write_size + - option: aio write size value: "16384" - - option: local_master + - option: local master value: "yes" - - option: time_server + - option: time server value: "no" - - option: wins_support + - option: wins support value: "no" - - option: acl_allow_execute_always + - option: acl allow execute always value: "yes" - - option: force_user + - option: force user value: "root" - - option: force_group + - option: force group value: "users" - option: workgroup value: WORKGROUP - - option: server_string + - option: server string value: "%h_server" # packages