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

72 lines
1.6 KiB
YAML

## This playbook deploys a FvS desktop machine for LinuxMuster.
---
- name: apply configuration to the machines
hosts: all
remote_user: ansible
become: yes
pre_tasks:
- pause:
prompt: "Enter global-admin active directory password, leave empty to skip domain join"
minutes: 5
echo: false
register: adpw
no_log: true
when: "ansible_cmdline.adpw is not defined"
vars:
domain: "pn.steinbeis.schule"
extra_pkgs:
- thunderbird-l10n-de
- webext-privacy-badger
- webext-ublock-origin
- vim
- emacs
- elpa-magit
- elpa-color-theme-modern
- vlc
- gimp
- inkscape
- flameshot
- 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
- krb5-user
- unattended-upgrades
extra_pkgs_bpo: [ libreoffice ] # [ linux-image-amd64 ] # [ libreoffice ]
ansible_python_interpreter: "/usr/bin/python3"
roles:
## Choose either gnome or KDE:
#- gnome
- kde
- up2date_debian
- lmn-sssd
- lmn-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