瀏覽代碼

screensaver setup in own role

master
父節點
當前提交
c5bc638a17
共有 2 個檔案被更改,包括 2 行新增35 行删除
  1. +2
    -1
      tasks/main.yaml
  2. +0
    -34
      tasks/screensaver.yaml

+ 2
- 1
tasks/main.yaml 查看文件

@@ -21,7 +21,8 @@
- import_tasks: clean.yaml

- import_tasks: xfce.yaml
- import_tasks: screensaver.yaml
- import_role:
name: screensaver
- import_tasks: backgrounds.yaml
- import_tasks: fonts.yaml



+ 0
- 34
tasks/screensaver.yaml 查看文件

@@ -1,34 +0,0 @@
---

- name: ensure old screensavers are absent
apt:
pkg:
- 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

Loading…
取消
儲存