瀏覽代碼

Merge branch 'master' of git.devops.thengo.intranet:kita-pro/ansible-role-kita-pro-desktop

master
Markus Brechtel 5 年之前
父節點
當前提交
afe628e637
共有 9 個檔案被更改,包括 29 行新增132 行删除
  1. +0
    -3
      defaults/main.yml
  2. +0
    -2
      files/gdmflexiserver-fake.sh
  3. +4
    -7
      tasks/clean.yaml
  4. +1
    -20
      tasks/desktop_apps.yaml
  5. +3
    -3
      tasks/main.yaml
  6. +0
    -11
      tasks/multimedia.yaml
  7. +21
    -0
      tasks/xfce-customization.yaml
  8. +0
    -51
      tasks/xfce.yaml
  9. +0
    -35
      templates/Xresources.xscreensaver.j2

+ 0
- 3
defaults/main.yml 查看文件

@@ -34,6 +34,3 @@ kiosk_unlocked_users: root
xfwm4_use_compositing: true

xfce_lock_panel: true

xscreensaver_dpms: true
xscreensaver_timeout: 900

+ 0
- 2
files/gdmflexiserver-fake.sh 查看文件

@@ -1,2 +0,0 @@
#!/bin/sh
/usr/bin/dm-tool switch-to-greeter

+ 4
- 7
tasks/clean.yaml 查看文件

@@ -1,10 +1,7 @@
---


- name: ensure old packages are absent
apt:
pkg:
- gwenview
- kipi-plugins
- kde-l10n-de
state: absent
# - name: ensure old packages are absent
# apt:
# pkg:
# state: absent

+ 1
- 20
tasks/desktop_apps.yaml 查看文件

@@ -1,29 +1,10 @@
---

- import_role:
name: desktop_apps

- import_role:
name: libreoffice

- import_role:
name: firefox
name: desktop

- import_tasks: fotowall.yaml
when: install_fotowall

- import_tasks: cewe_fotobuch.yaml
when: install_cewe_fotobuch

- name: additional desktop apps
apt:
pkg:
- simple-scan
- gthumb
- krita
- krita-l10n
- gimp
- gimp-help-de
- audacity
- notify-osd
- catfish

+ 3
- 3
tasks/main.yaml 查看文件

@@ -20,13 +20,13 @@

- import_tasks: clean.yaml

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

- import_tasks: desktop_apps.yaml
- import_tasks: multimedia.yaml
- import_tasks: xfce-customization.yaml

- import_tasks: media-access-bug.yaml



+ 0
- 11
tasks/multimedia.yaml 查看文件

@@ -1,11 +0,0 @@
---

- name: multimedia packages
apt:
pkg:
- vlc
- vlc-l10n
- libdvd-pkg
- libdvdread4
- openshot
- openshot-doc

+ 21
- 0
tasks/xfce-customization.yaml 查看文件

@@ -0,0 +1,21 @@
---

- name: xdg config
copy:
src: xdg/
dest: /etc/xdg/

- name: xfce panel config
template:
src: xfce4-panel.xml.j2
dest: /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml

- name: whiskermenu config
template:
src: whiskermenu-1.rc.j2
dest: /etc/xdg/xfce4/panel/whiskermenu-1.rc

- name: xfwm4 config
template:
src: xfwm4.xml.j2
dest: /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml

+ 0
- 51
tasks/xfce.yaml 查看文件

@@ -1,51 +0,0 @@
---

- name: desktop packages
apt:
pkg:
- xfce4
- task-desktop
- task-xfce-desktop
- task-german
- task-german-desktop
- dmz-cursor-theme
- gnome-brave-icon-theme
- gnome-dust-icon-theme
- gnome-human-icon-theme
- gnome-icon-theme
- gnome-icon-theme-gartoon
- gnome-icon-theme-nuovo
- gnome-icon-theme-suede
- gnome-icon-theme-yasis
- gnome-extra-icons
- gnome-illustrious-icon-theme
- gnome-noble-icon-theme
- gnome-wine-icon-theme
- gnome-wise-icon-theme
- xfonts-terminus
- gvfs
- gvfs-backends
- gvfs-bin
- gvfs-fuse
- zip
- unzip

- name: xdg config
copy:
src: xdg/
dest: /etc/xdg/

- name: xfce panel config
template:
src: xfce4-panel.xml.j2
dest: /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml

- name: whiskermenu config
template:
src: whiskermenu-1.rc.j2
dest: /etc/xdg/xfce4/panel/whiskermenu-1.rc

- name: xfwm4 config
template:
src: xfwm4.xml.j2
dest: /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml

+ 0
- 35
templates/Xresources.xscreensaver.j2 查看文件

@@ -1,35 +0,0 @@
xscreensaver.mode: blank

xscreensaver.timeout: {{ (xscreensaver_timeout / 60 / 60) | round(0,'floor') | int }}:{{ (xscreensaver_timeout / 60 % 60) | round(0,'floor') | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.lockTimeout: {{ (xscreensaver_timeout / 60 / 60) | round(0,'floor') | int }}:{{ (xscreensaver_timeout / 60 % 60) | round(0,'floor') | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.passwdTimeout: 0:00:30

{% if xscreensaver_dpms %}
xscreensaver.dpmsEnabled: True
xscreensaver.dpmsQuickoffEnabled: True
xscreensaver.dpmsStandby: {{ (xscreensaver_timeout / 60 / 60) | round(0,'floor') | int }}:{{ (xscreensaver_timeout / 60 % 60) | round(0,'floor') | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.dpmsSuspend: {{ (xscreensaver_timeout / 60 / 60) | round(0,'floor') | int }}:{{ (xscreensaver_timeout / 60 % 60) | round(0,'floor') | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.dpmsOff: {{ (xscreensaver_timeout / 60 / 60) | round(0,'floor') | int }}:{{ (xscreensaver_timeout / 60 % 60) | round(0,'floor') | int }}:{{ xscreensaver_timeout % 60 }}
{% else %}
xscreensaver.dpmsEnabled: False
xscreensaver.dpmsQuickoffEnabled: False
{% endif %}

xscreensaver.cycle: 0:15:00

xscreensaver.grabDesktopImages: False
xscreensaver.grabVideoFrames: False
xscreensaver.chooseRandomImages: True

xscreensaver.lock: True

xscreensaver.fade: True
xscreensaver.unfade: False
xscreensaver.fadeSeconds: 0:00:03

xscreensaver.splash: False

xscreensaver.passwd.heading.label: XScreenSaver
xscreensaver.passwd.body.label: Dieser Bildschirm ist gesperrt.
xscreensaver.passwd.unlock.label: OK
xscreensaver.passwd.login.label: Benutzer wechseln

Loading…
取消
儲存