cups-server: Write all requests to access log
This commit is contained in:
parent
d9b2f1f912
commit
8f10de5cca
1 changed files with 7 additions and 1 deletions
|
@ -34,6 +34,13 @@
|
||||||
line: "Listen 631"
|
line: "Listen 631"
|
||||||
notify: restart cups
|
notify: restart cups
|
||||||
|
|
||||||
|
- name: write all requests to cups access log
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/cups/cupsd.conf
|
||||||
|
line: "AccessLogLevel all"
|
||||||
|
insertafter: "LogLevel warn"
|
||||||
|
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"
|
||||||
|
@ -45,7 +52,6 @@
|
||||||
force: true
|
force: true
|
||||||
notify: restart cups
|
notify: restart cups
|
||||||
|
|
||||||
|
|
||||||
- name: link certificate
|
- name: link certificate
|
||||||
file:
|
file:
|
||||||
dest: "/etc/cups/ssl/{{ inventory_hostname }}.crt"
|
dest: "/etc/cups/ssl/{{ inventory_hostname }}.crt"
|
||||||
|
|
Loading…
Add table
Reference in a new issue