trixie/lmn-desktop.yml

45 lines
1.1 KiB
YAML
Raw Normal View History

## This playbook deploys a FvS KDE desktop machine for LinuxMuster.
2023-01-13 13:43:31 +01:00
---
- name: apply configuration to the machines
hosts: all
remote_user: ansible
become: yes
pre_tasks:
- pause:
2023-01-21 08:48:09 +01:00
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"
2023-01-13 13:43:31 +01:00
vars:
domain: "pn.steinbeis.schule"
2023-01-13 13:43:31 +01:00
extra_pkgs:
- vim
- mc
- tmux
- console-setup
- krb5-user
2023-01-20 20:17:46 +01:00
- unattended-upgrades
extra_pkgs_bpo: [ linux-image-amd64 ] # [ libreoffice ]
2023-01-13 13:43:31 +01:00
ansible_python_interpreter: "/usr/bin/python3"
roles:
- up2date_debian
- lmn_sssd
- lmn_mount
- kde
- lmn_kde
2023-01-22 12:02:50 +01:00
- lmn_vm
2023-01-13 13:43:31 +01:00
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