Преглед на файлове

complete rewrite so that this role can be the default desktop role

master
Markus Katharina Brechtel преди 5 години
родител
ревизия
e7f53cba5f
променени са 20 файла, в които са добавени 117 реда и са изтрити 94 реда
  1. +9
    -0
      tasks/audio.yaml
  2. +0
    -5
      tasks/audio.yml
  3. +18
    -0
      tasks/bluetooth.yaml
  4. +0
    -13
      tasks/bluetooth.yml
  5. +9
    -0
      tasks/editors.yaml
  6. +11
    -0
      tasks/graphic.yaml
  7. +0
    -5
      tasks/gvim.yml
  8. +0
    -15
      tasks/kde.yml
  9. +0
    -6
      tasks/libreoffice.yml
  10. +7
    -0
      tasks/mail.yaml
  11. +0
    -10
      tasks/mail.yml
  12. +16
    -0
      tasks/main.yaml
  13. +0
    -16
      tasks/main.yml
  14. +11
    -0
      tasks/multimedia.yaml
  15. +4
    -7
      tasks/scanner.yml
  16. +0
    -4
      tasks/voip-client.yml
  17. +0
    -4
      tasks/web-dev-browser.yml
  18. +32
    -0
      tasks/xfce.yaml
  19. +0
    -3
      tasks/xpra.yml
  20. +0
    -6
      tasks/youtube-dl.yml

+ 9
- 0
tasks/audio.yaml Целия файл

@@ -0,0 +1,9 @@
---
# tasks file for desktop-audio

- name: audio packages
apt:
pkg:
- pavucontrol
- pasystray
- audacity

+ 0
- 5
tasks/audio.yml Целия файл

@@ -1,5 +0,0 @@
---
# tasks file for desktop-audio

- name: install pavucontrol
apt: name=pavucontrol state=latest

+ 18
- 0
tasks/bluetooth.yaml Целия файл

@@ -0,0 +1,18 @@
---

# https://wiki.debian.org/BluetoothUser#Preparation

- name: bluetooth system packages
apt:
pkg: bluetooth

- name: enable bluetooth service
service:
name: bluetooth
enabled: yes
state: started

- name: bluetooth gui packages
apt:
pkg:
- blueman

+ 0
- 13
tasks/bluetooth.yml Целия файл

@@ -1,13 +0,0 @@
---
# tasks file for desktop-bluetooth

# https://wiki.debian.org/BluetoothUser#Preparation

- name: install bluetooth support
apt: name=bluetooth state=latest

- name: enable bluetooth service
service: name=bluetooth enabled=yes state=started

- name: install bluedevil (for KDE)
apt: name=bluedevil state=latest

+ 9
- 0
tasks/editors.yaml Целия файл

@@ -0,0 +1,9 @@
---

- name: install editors
apt:
pkg:
- vim-gtk

- import_role:
name: atom_editor

+ 11
- 0
tasks/graphic.yaml Целия файл

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

- name: graphic editors packages
apt:
pkg:
- gimp
- gimp-help-de
- inkscape
- gthumb
- krita
- krita-l10n

+ 0
- 5
tasks/gvim.yml Целия файл

@@ -1,5 +0,0 @@
---
# tasks file for desktop

- name: install gvim
apt: name=vim-gtk state=latest

+ 0
- 15
tasks/kde.yml Целия файл

@@ -1,15 +0,0 @@
---
# tasks file for desktop

- name: install kde desktop
apt: name={{ item }} state=latest
with_items:
- task-kde-desktop
- task-german
- task-german-desktop
- kde-l10n-de
- kio-mtp
- gwenview
- kipi-plugins
- kde-config-gtk-style
- qtcurve

+ 0
- 6
tasks/libreoffice.yml Целия файл

@@ -1,6 +0,0 @@
---
- name: install libreoffice
apt: pkg={{item}} state=latest
with_items:
- libreoffice
- libreoffice-l10n-de

+ 7
- 0
tasks/mail.yaml Целия файл

@@ -0,0 +1,7 @@
---

- name: thunderbird
apt:
pkg:
- thunderbird
- thunderbird-l10n-de

+ 0
- 10
tasks/mail.yml Целия файл

@@ -1,10 +0,0 @@
---
# tasks file for desktop

- name: install icedove
apt: name={{ item }} state=latest
with_items:
- icedove
- icedove-l10n-de


+ 16
- 0
tasks/main.yaml Целия файл

@@ -0,0 +1,16 @@
---

- import_role:
name: basic_desktop

- import_role:
name: libreoffice

- import_tasks: xfce.yaml
- import_tasks: audio.yaml
- import_tasks: bluetooth.yaml
- import_tasks: editors.yaml
- import_tasks: graphic.yaml
- import_tasks: mail.yaml
- import_tasks: scanner.yaml
- import_tasks: multimedia.yaml

+ 0
- 16
tasks/main.yml Целия файл

@@ -1,16 +0,0 @@
---
# tasks file for desktop

- include_role:
name: basic_desktop

- include: kde.yml
- include: libreoffice.yml

- include: audio.yml
- include: bluetooth.yml
- include: gvim.yml
#- include: youtube-dl.yml
- include: voip-client.yml
- include: mail.yml
- include: scanner.yml

+ 11
- 0
tasks/multimedia.yaml Целия файл

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

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

+ 4
- 7
tasks/scanner.yml Целия файл

@@ -1,9 +1,6 @@
---
# tasks file for desktop

- name: install scan software
apt: name={{ item }} state=latest
with_items:
- simple-scan

- name: scan packages
apt:
pkg:
- simple-scan

+ 0
- 4
tasks/voip-client.yml Целия файл

@@ -1,4 +0,0 @@
#- name: install sflphone
# apt:
# name: sflphone-kde
# state: present

+ 0
- 4
tasks/web-dev-browser.yml Целия файл

@@ -1,4 +0,0 @@
---
# tasks file for web-dev-browser
- name: uninstall xul-ext-greasemonkey
apt: name=xul-ext-greasemonkey state=absent

+ 32
- 0
tasks/xfce.yaml Целия файл

@@ -0,0 +1,32 @@
---
# tasks file for desktop

- name: xfce 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

+ 0
- 3
tasks/xpra.yml Целия файл

@@ -1,3 +0,0 @@
---
- name: install xpra
apt: pkg=xpra state=latest

+ 0
- 6
tasks/youtube-dl.yml Целия файл

@@ -1,6 +0,0 @@
---
# tasks file for youtube-dl
- name: install youtube-dl package
apt: name=youtube-dl state=latest
- name: download latest youtube-dl
get_url: url=https://yt-dl.org/downloads/latest/youtube-dl dest=/usr/local/bin/youtube-dl mode=755