diff --git a/roles/cups/server/files/header.tmpl b/roles/cups/server/files/header.tmpl
new file mode 100644
index 0000000..3c6149e
--- /dev/null
+++ b/roles/cups/server/files/header.tmpl
@@ -0,0 +1,27 @@
+
+
+
+
+ {title} - CUPS 1.6.3
+
+
+
+ {refresh_page?:}
+
+
+
+
+
+

+
+
+
diff --git a/roles/cups/server/files/local.css b/roles/cups/server/files/local.css
new file mode 100644
index 0000000..8e0bffd
--- /dev/null
+++ b/roles/cups/server/files/local.css
@@ -0,0 +1,49 @@
+body {
+ margin: 0;
+ color: #172b4d;
+ background: #f2f2f2;
+ position: absolute;
+ left: 0px;
+ right: 0px;
+}
+
+#navbar {
+ padding-top: 15px;
+ background-color: #000;
+}
+
+.navigation-button {
+ background-color: #000;
+ color: #fff;
+ padding: 16px;
+ font-size: 16px;
+ border: none;
+ cursor: pointer;
+}
+.navigation {
+ position: absolute;
+ top: 10px;
+ right: 100px;
+ display: inline-block;
+ float: right;
+}
+.navigation-content {
+ display: none;
+ position: absolute;
+ background-color: #f9f9f9;
+ min-width: 160px;
+ box-shadow 0px 8px 16px 0px rgba(0,0,0,0,2);
+ padding: 12px 16px;
+ z-index: 1;
+}
+.navigation-content a {
+ display: block;
+ padding: 10px 10px;
+}
+.navigation:hover .navigation-content {
+ display: block;
+}
+
+.hide {
+ display: none;
+}
diff --git a/roles/cups/server/files/logo.png b/roles/cups/server/files/logo.png
new file mode 100644
index 0000000..b38372c
Binary files /dev/null and b/roles/cups/server/files/logo.png differ
diff --git a/roles/cups/server/tasks/main.yml b/roles/cups/server/tasks/main.yml
index 19cc9ed..534f91c 100644
--- a/roles/cups/server/tasks/main.yml
+++ b/roles/cups/server/tasks/main.yml
@@ -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