diff --git a/roles/cups-server/tasks/main.yml b/roles/cups-server/tasks/main.yml index 96f6b89..221589c 100644 --- a/roles/cups-server/tasks/main.yml +++ b/roles/cups-server/tasks/main.yml @@ -41,6 +41,13 @@ insertafter: "LogLevel warn" 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 file: dest: "/etc/cups/ssl/{{ inventory_hostname }}.key"