change cups authentication to use kerberos
This commit is contained in:
parent
bd1205af61
commit
5afff575c5
2 changed files with 13 additions and 0 deletions
6
roles/cups/server/handlers/main.yml
Normal file
6
roles/cups/server/handlers/main.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
|
||||
- name: restart cups
|
||||
service:
|
||||
name: cups
|
||||
state: restarted
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue