Configure KDE, move package installation to extra role.
This commit is contained in:
parent
0828e77e7b
commit
0cc41715d8
8 changed files with 87 additions and 35 deletions
|
@ -1,4 +1,4 @@
|
||||||
## This playbook deploys a FvS desktop machine for LinuxMuster.
|
## This playbook deploys a FvS KDE desktop machine for LinuxMuster.
|
||||||
---
|
---
|
||||||
- name: apply configuration to the machines
|
- name: apply configuration to the machines
|
||||||
hosts: all
|
hosts: all
|
||||||
|
@ -16,50 +16,21 @@
|
||||||
vars:
|
vars:
|
||||||
domain: "pn.steinbeis.schule"
|
domain: "pn.steinbeis.schule"
|
||||||
extra_pkgs:
|
extra_pkgs:
|
||||||
- thunderbird-l10n-de
|
|
||||||
- webext-privacy-badger
|
|
||||||
- webext-ublock-origin
|
|
||||||
- vim
|
- vim
|
||||||
- emacs
|
|
||||||
- elpa-magit
|
|
||||||
- elpa-color-theme-modern
|
|
||||||
- vlc
|
|
||||||
- gimp
|
|
||||||
- inkscape
|
|
||||||
- flameshot
|
|
||||||
- bluefish
|
|
||||||
- git
|
|
||||||
- gitk
|
|
||||||
- gitg
|
|
||||||
- mc
|
- mc
|
||||||
- tmux
|
- tmux
|
||||||
- wireshark
|
|
||||||
- nmap
|
|
||||||
- netcat-openbsd
|
|
||||||
- net-tools
|
|
||||||
- ghex
|
|
||||||
- thonny
|
|
||||||
- spyder
|
|
||||||
- mu-editor
|
|
||||||
- dia
|
|
||||||
- vym
|
|
||||||
- tree
|
|
||||||
- console-setup
|
- console-setup
|
||||||
- virt-manager
|
|
||||||
- libreoffice-l10n-de
|
|
||||||
- krb5-user
|
- krb5-user
|
||||||
- unattended-upgrades
|
- unattended-upgrades
|
||||||
extra_pkgs_bpo: [ libreoffice ] # [ linux-image-amd64 ] # [ libreoffice ]
|
extra_pkgs_bpo: [] # [ linux-image-amd64 ] # [ libreoffice ]
|
||||||
ansible_python_interpreter: "/usr/bin/python3"
|
ansible_python_interpreter: "/usr/bin/python3"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
## Choose either gnome or KDE:
|
|
||||||
#- gnome
|
|
||||||
- kde
|
|
||||||
- up2date_debian
|
- up2date_debian
|
||||||
- lmn-sssd
|
- lmn_sssd
|
||||||
- lmn-mount
|
- lmn_mount
|
||||||
# - fvs-client
|
- kde
|
||||||
|
- lmn_kde
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Add local user 'virti' in the 'libvirt' group
|
- name: Add local user 'virti' in the 'libvirt' group
|
||||||
|
|
10
roles/lmn_kde/handlers/main.yml
Normal file
10
roles/lmn_kde/handlers/main.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
- name: run update-grub
|
||||||
|
command: update-grub
|
||||||
|
listen: update grub
|
||||||
|
|
||||||
|
- name: enable tmp.mount
|
||||||
|
systemd:
|
||||||
|
daemon_reload: yes
|
||||||
|
name: tmp.mount
|
||||||
|
enabled: yes
|
||||||
|
listen: enable tmp.mount
|
71
roles/lmn_kde/tasks/main.yml
Normal file
71
roles/lmn_kde/tasks/main.yml
Normal file
|
@ -0,0 +1,71 @@
|
||||||
|
---
|
||||||
|
- name: install desktop EDU packages and some more
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- thunderbird-l10n-de
|
||||||
|
- webext-privacy-badger
|
||||||
|
- webext-ublock-origin
|
||||||
|
- emacs
|
||||||
|
- elpa-magit
|
||||||
|
- elpa-color-theme-modern
|
||||||
|
- vlc
|
||||||
|
- gimp
|
||||||
|
- inkscape
|
||||||
|
- flameshot
|
||||||
|
- bluefish
|
||||||
|
- git
|
||||||
|
- gitk
|
||||||
|
- gitg
|
||||||
|
- wireshark
|
||||||
|
- nmap
|
||||||
|
- netcat-openbsd
|
||||||
|
- net-tools
|
||||||
|
- ghex
|
||||||
|
- thonny
|
||||||
|
- spyder
|
||||||
|
- mu-editor
|
||||||
|
- dia
|
||||||
|
- vym
|
||||||
|
- tree
|
||||||
|
- virt-manager
|
||||||
|
- libreoffice-l10n-de
|
||||||
|
- xdg-desktop-portal-kde
|
||||||
|
state: latest
|
||||||
|
|
||||||
|
- name: set homepage
|
||||||
|
lineinfile:
|
||||||
|
dest: /etc/firefox-esr/firefox-esr.js
|
||||||
|
line: pref("browser.startup.homepage", "https://www.startpage.com");
|
||||||
|
|
||||||
|
- name: tune SDDM login
|
||||||
|
blockinfile:
|
||||||
|
path: /etc/sddm.conf
|
||||||
|
create: true
|
||||||
|
block: |
|
||||||
|
[Users]
|
||||||
|
MaximumUid=999
|
||||||
|
RememberLastUser=false
|
||||||
|
RememberLastSession=false
|
||||||
|
|
||||||
|
|
||||||
|
################# from kiosk.yml ##################
|
||||||
|
- name: grub timeout
|
||||||
|
lineinfile:
|
||||||
|
dest: /etc/default/grub
|
||||||
|
regexp: '^(GRUB_TIMEOUT=).*'
|
||||||
|
line: '\g<1>1'
|
||||||
|
backrefs: yes
|
||||||
|
notify: update grub
|
||||||
|
|
||||||
|
- name: keyboard compose key
|
||||||
|
lineinfile:
|
||||||
|
dest: /etc/default/keyboard
|
||||||
|
regexp: '^(XKBOPTIONS=).*'
|
||||||
|
line: '\1"compose:caps"'
|
||||||
|
backrefs: yes
|
||||||
|
|
||||||
|
- name: tmp on tmpfs
|
||||||
|
command: cp /usr/share/systemd/tmp.mount /etc/systemd/system/
|
||||||
|
args:
|
||||||
|
creates: /etc/systemd/system/tmp.mount
|
||||||
|
notify: enable tmp.mount
|
Loading…
Add table
Reference in a new issue