cups-server: Disable printer advertisements
This commit is contained in:
parent
8f10de5cca
commit
4032a467c4
1 changed files with 7 additions and 0 deletions
|
@ -41,6 +41,13 @@
|
||||||
insertafter: "LogLevel warn"
|
insertafter: "LogLevel warn"
|
||||||
notify: restart cups
|
notify: restart cups
|
||||||
|
|
||||||
|
- name: disable printer advertisements
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/cups/cupsd.conf
|
||||||
|
regexp: "^BrowseLocalProtocols .*"
|
||||||
|
line: "BrowseLocalProtocols none"
|
||||||
|
notify: restart cups
|
||||||
|
|
||||||
- name: link private key
|
- name: link private key
|
||||||
file:
|
file:
|
||||||
dest: "/etc/cups/ssl/{{ inventory_hostname }}.key"
|
dest: "/etc/cups/ssl/{{ inventory_hostname }}.key"
|
||||||
|
|
Loading…
Add table
Reference in a new issue