From 41c577c737566278ee6ad472e4b57b789f3fc9ed Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Sun, 15 Sep 2019 12:07:09 +0000 Subject: [PATCH] current screensaver setup --- tasks/main.yaml | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/tasks/main.yaml b/tasks/main.yaml index 8cb981d..469e142 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -1,4 +1,34 @@ --- -- apt: + +- name: ensure old screensavers are absent + apt: pkg: - - xscreensaver + - light-locker + state: absent + +- name: uninstall light-locker-settings + file: + path: "{{ item }}" + state: absent + with_items: + - /usr/bin/light-locker-settings + - /usr/share/applications/light-locker-settings.desktop + - /usr/share/light-locker-settings + - /usr/share/doc/light-locker-settings + - /opt/light-locker-settings-1.5.3 + - /opt/light-locker-settings-1.5.3.tar.bz2 + +- name: install xscreensaver + apt: + pkg: xscreensaver + +- name: xscreensaver default settings + template: + src: Xresources.xscreensaver.j2 + dest: /etc/X11/Xresources/xscreensaver + +- name: gdmflexiserver dummy script + copy: + src: gdmflexiserver-fake.sh + dest: /usr/local/bin/gdmflexiserver + mode: 0755