43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
## This playbook deploys a FvS KDE 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:
|
|
- vim
|
|
- mc
|
|
- tmux
|
|
- console-setup
|
|
- krb5-user
|
|
- unattended-upgrades
|
|
extra_pkgs_bpo: [] # [ linux-image-amd64 ] # [ libreoffice ]
|
|
ansible_python_interpreter: "/usr/bin/python3"
|
|
|
|
roles:
|
|
- up2date_debian
|
|
- lmn_sssd
|
|
- lmn_mount
|
|
- kde
|
|
- lmn_kde
|
|
|
|
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
|