Provide Nextcloud tools for teacherlaptops
This commit is contained in:
parent
2c201e160e
commit
24af67384d
1 changed files with 8 additions and 5 deletions
|
@ -1,11 +1,13 @@
|
|||
---
|
||||
- name: Install additional teacherlaptop packages
|
||||
apt:
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- plasma-discover
|
||||
- wireguard
|
||||
#- krb5-auth-dialog
|
||||
state: latest
|
||||
- nextcloud-desktop
|
||||
- dolphin-nextcloud
|
||||
# - krb5-auth-dialog
|
||||
state: latest # noqa package-latest
|
||||
|
||||
- name: Copy polkit rule to allow install packages by role-teacher
|
||||
ansible.builtin.copy:
|
||||
|
@ -19,6 +21,7 @@
|
|||
- name: Adjust mmcblk-device gid to allow teachers to access SD-cards
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/udev/rules.d/80-mmcblk.rules
|
||||
mode: "0644"
|
||||
content: |
|
||||
KERNEL=="mmcblk[0-9]", ENV{ID_NAME}=="?*", ENV{ID_SERIAL}=="?*", GROUP="teachers"
|
||||
KERNEL=="mmcblk[0-9]p[0-9]*", ENV{ID_NAME}=="?*", ENV{ID_SERIAL}=="?*", GROUP="teachers"
|
||||
|
@ -41,8 +44,8 @@
|
|||
dest: /etc/NetworkManager/dispatcher.d/pre-down.d/10-lmn-mount.sh
|
||||
state: link
|
||||
|
||||
- name: Deploy sudo configurations (apt for role-teacher)
|
||||
copy:
|
||||
- name: Deploy sudo configurations (apt for role-teacher)
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/sudoers.d/90-lmn-teacherlaptop
|
||||
owner: root
|
||||
group: root
|
||||
|
|
Loading…
Add table
Reference in a new issue