lmn-client/lmn-desktop.yml
2023-02-07 19:18:57 +01:00

72 lines
1.7 KiB
YAML

## This playbook deploys a FvS desktop machine for LinuxMuster.
---
- name: apply configuration to the machines
hosts: all
remote_user: ansible
become: yes
vars:
extra_pkgs:
- webext-privacy-badger
- webext-ublock-origin
- vim
- emacs
- elpa-magit
- elpa-color-theme-modern
- vlc
- gimp
- inkscape
- bluefish
- git
- gitk
- gitg
- mc
- tmux
- wireshark
- nmap
- netcat-openbsd
- net-tools
- ghex
- thonny
- spyder
- mu-editor
- dia
- vym
- tree
- console-setup
- virt-manager
- libreoffice-l10n-de
extra_pkgs_bpo: [ libreoffice ] # [ linux-image-amd64 ] # [ libreoffice ]
ansible_python_interpreter: "/usr/bin/python3"
roles:
## Choose either gnome or KDE:
#- gnome
- kde
- up2date_debian
# - fvs-sssd
# - fvs-mount
# - fvs-client
tasks:
- name: Add local user 'virti' in the 'libvirt' group
ansible.builtin.user:
name: virti
password: $y$j9T$DuSvAO63v5LvoJmJ1rB0B0$D4tovIz79AdLHs5I6tYa7rxr3SWknQeUFvGaaKvUpo3
comment: Libvirt VM User,,,
shell: /bin/bash
groups: libvirt
append: yes
- name: add lmn key
ansible.builtin.apt_key:
url: https://deb.linuxmuster.net/pub.gpg
keyring: /etc/apt/trusted.gpg.d/linuxmuster.net.gpg
- name: add lmn repo
apt_repository:
repo: deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/linuxmuster.net.gpg] http://deb.linuxmuster.net/ lmn71 main
state: present
update_cache: true
- name: install
apt:
name: linuxmuster-linuxclient7
state: latest