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

44 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: "{{ ansible_domain }}"
extra_pkgs:
- vim
- mc
- tmux
- console-setup
- krb5-user
- unattended-upgrades
extra_pkgs_bpo: [ linux-image-amd64 ]
ansible_python_interpreter: "/usr/bin/python3"
roles:
- up2date_debian
- lmn_sssd
- lmn_mount
- kde
- lmn_kde
- lmn_vm
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