change cups authentication to use kerberos

This commit is contained in:
Timo Makinen 2019-06-14 10:12:07 +03:00
parent bd1205af61
commit 5afff575c5
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,6 @@
---
- name: restart cups
service:
name: cups
state: restarted

View file

@ -28,6 +28,13 @@
owner: root
group: "{{ ansible_wheel }}"
- name: enable gssapi authentication from cups
lineinfile:
path: /etc/cups/cupsd.conf
regexp: "^DefaultAuthType .*"
line: "DefaultAuthType Negotiate"
notify: restart cups
- name: disable cups socket service
systemd:
name: cups.socket