mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-19 03:33:17 +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
|
creates: /var/lib/samba/private/tls/dhparam.pem
|
||||||
tags: samba
|
tags: samba
|
||||||
|
|
||||||
- name: Deploy smb.conf
|
- name: Deploy samba configuration
|
||||||
template: src=smb.conf.j2 dest=/etc/samba/smb.conf
|
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
|
notify: reload samba
|
||||||
tags: 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