mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 18:23:40 +02:00
Update to 2022-03-28 12:00
This commit is contained in:
parent
bc3fe1b0a7
commit
a8ef3e771c
@ -78,8 +78,13 @@
|
||||
creates: /var/lib/samba/private/tls/dhparam.pem
|
||||
tags: samba
|
||||
|
||||
- name: Deploy smb.conf
|
||||
template: src=smb.conf.j2 dest=/etc/samba/smb.conf
|
||||
- name: Deploy samba configuration
|
||||
template: src={{ item.src }} dest={{ item.dest }}
|
||||
loop:
|
||||
- src: smb.conf.j2
|
||||
dest: /etc/samba/smb.conf
|
||||
- src: sysconfig.j2
|
||||
dest: /etc/sysconfig/samba
|
||||
notify: reload samba
|
||||
tags: samba
|
||||
|
||||
|
18
roles/samba/templates/sysconfig.j2
Normal file
18
roles/samba/templates/sysconfig.j2
Normal file
@ -0,0 +1,18 @@
|
||||
## Path: Network/Samba
|
||||
## Description: Samba process options
|
||||
## Type: string
|
||||
## Default: ""
|
||||
## ServiceRestart: samba
|
||||
SAMBAOPTIONS="--log-basename=/var/log/samba"
|
||||
## Type: string
|
||||
## Default: ""
|
||||
## ServiceRestart: smb
|
||||
SMBDOPTIONS=""
|
||||
## Type: string
|
||||
## Default: ""
|
||||
## ServiceRestart: nmb
|
||||
NMBDOPTIONS=""
|
||||
## Type: string
|
||||
## Default: ""
|
||||
## ServiceRestart: winbind
|
||||
WINBINDOPTIONS=""
|
Loading…
x
Reference in New Issue
Block a user