Implement lmn-sssd and lmn-mount roles.

This commit is contained in:
Andreas B. Mundt 2023-01-18 19:32:43 +01:00
parent f88626ec7e
commit db054949a5
6 changed files with 78 additions and 16 deletions

View file

@ -4,7 +4,17 @@
hosts: all
remote_user: ansible
become: yes
pre_tasks:
- pause:
prompt: "Enter global-admin active directory password to join domain:"
minutes: 5
echo: false
register: adpw
no_log: true
when: "ansible_cmdline.adpw is not defined"
vars:
domain: "pn.steinbeis.schule"
extra_pkgs:
- webext-privacy-badger
- webext-ublock-origin
@ -35,6 +45,7 @@
- console-setup
- virt-manager
- libreoffice-l10n-de
- krb5-user
extra_pkgs_bpo: [ libreoffice ] # [ linux-image-amd64 ] # [ libreoffice ]
ansible_python_interpreter: "/usr/bin/python3"
@ -43,8 +54,8 @@
#- gnome
- kde
- up2date_debian
# - fvs-sssd
# - fvs-mount
- lmn-sssd
- lmn-mount
# - fvs-client
tasks:
@ -56,17 +67,3 @@
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