parent
daf7e7e7a3
commit
3468e34364
@ -1,4 +1,4 @@
|
|||||||
# roles/samba/defaults/main.yml
|
#i roles/samba/defaults/main.yml
|
||||||
---
|
---
|
||||||
|
|
||||||
samba_workgroup: 'WORKGROUP'
|
samba_workgroup: 'WORKGROUP'
|
||||||
@ -9,6 +9,8 @@ samba_security: 'user'
|
|||||||
samba_passdb_backend: 'tdbsam'
|
samba_passdb_backend: 'tdbsam'
|
||||||
samba_map_to_guest: 'bad user'
|
samba_map_to_guest: 'bad user'
|
||||||
samba_load_printers: false
|
samba_load_printers: false
|
||||||
|
samba_printer_type: 'cups'
|
||||||
|
samba_cups_server: 'localhost:631'
|
||||||
samba_load_homes: false
|
samba_load_homes: false
|
||||||
samba_create_varwww_symlinks: false
|
samba_create_varwww_symlinks: false
|
||||||
samba_shares_root: '/srv/shares'
|
samba_shares_root: '/srv/shares'
|
||||||
|
@ -59,6 +59,13 @@
|
|||||||
printing = bsd
|
printing = bsd
|
||||||
printcap name = /dev/null
|
printcap name = /dev/null
|
||||||
disable spoolss = yes
|
disable spoolss = yes
|
||||||
|
{% else %}
|
||||||
|
load printers = yes
|
||||||
|
printing = {{ samba_printer_type }}
|
||||||
|
printcap name = {{ samba_printer_type }}
|
||||||
|
{% if not samba_printer_type == 'cups' %}
|
||||||
|
cups server = {{ samba_cups_server }}
|
||||||
|
{% else %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if samba_mitigate_cve_2017_7494 %}
|
{% if samba_mitigate_cve_2017_7494 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user