add foo.sh layout to cups web interface

This commit is contained in:
Timo Makinen 2019-06-14 11:20:51 +03:00
parent a496da62b0
commit 84db430875
4 changed files with 95 additions and 0 deletions

View file

@ -58,6 +58,25 @@
line: "SystemGroup root sysadm"
notify: restart cups
- name: add static files to cups web interface
copy:
dest: "/usr/share/cups/www/{{ item }}"
src: "{{ item }}"
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
with_items:
- logo.png
- local.css
- name: create custom header for cups web interface
copy:
dest: /usr/share/cups/templates/header.tmpl
src: header.tmpl
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
- name: disable cups socket service
systemd:
name: cups.socket