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
|
- name: Install additional teacherlaptop packages
|
||||||
apt:
|
ansible.builtin.apt:
|
||||||
name:
|
name:
|
||||||
- plasma-discover
|
- plasma-discover
|
||||||
- wireguard
|
- wireguard
|
||||||
|
- nextcloud-desktop
|
||||||
|
- dolphin-nextcloud
|
||||||
# - krb5-auth-dialog
|
# - krb5-auth-dialog
|
||||||
state: latest
|
state: latest # noqa package-latest
|
||||||
|
|
||||||
- name: Copy polkit rule to allow install packages by role-teacher
|
- name: Copy polkit rule to allow install packages by role-teacher
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
@ -19,6 +21,7 @@
|
||||||
- name: Adjust mmcblk-device gid to allow teachers to access SD-cards
|
- name: Adjust mmcblk-device gid to allow teachers to access SD-cards
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: /etc/udev/rules.d/80-mmcblk.rules
|
dest: /etc/udev/rules.d/80-mmcblk.rules
|
||||||
|
mode: "0644"
|
||||||
content: |
|
content: |
|
||||||
KERNEL=="mmcblk[0-9]", ENV{ID_NAME}=="?*", ENV{ID_SERIAL}=="?*", GROUP="teachers"
|
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"
|
KERNEL=="mmcblk[0-9]p[0-9]*", ENV{ID_NAME}=="?*", ENV{ID_SERIAL}=="?*", GROUP="teachers"
|
||||||
|
@ -42,7 +45,7 @@
|
||||||
state: link
|
state: link
|
||||||
|
|
||||||
- name: Deploy sudo configurations (apt for role-teacher)
|
- name: Deploy sudo configurations (apt for role-teacher)
|
||||||
copy:
|
ansible.builtin.copy:
|
||||||
dest: /etc/sudoers.d/90-lmn-teacherlaptop
|
dest: /etc/sudoers.d/90-lmn-teacherlaptop
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
|
Loading…
Add table
Reference in a new issue