Allow domain users to write sd-cards
This commit is contained in:
parent
dfa16402f1
commit
6dcbb03601
1 changed files with 8 additions and 0 deletions
|
@ -313,5 +313,13 @@
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
|
||||||
|
- name: Adjust mmcblk-device gid to allow users 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="domain users"
|
||||||
|
KERNEL=="mmcblk[0-9]p[0-9]*", ENV{ID_NAME}=="?*", ENV{ID_SERIAL}=="?*", GROUP="domain users"
|
||||||
|
|
||||||
- name: Include sync
|
- name: Include sync
|
||||||
ansible.builtin.include_tasks: sync.yml
|
ansible.builtin.include_tasks: sync.yml
|
||||||
|
|
Loading…
Add table
Reference in a new issue