Allow teachers to install printers on teacherlaptops.
This commit is contained in:
parent
a8d74fce5b
commit
463997aa26
1 changed files with 8 additions and 0 deletions
|
@ -32,6 +32,14 @@
|
|||
- "/"
|
||||
- "/admin"
|
||||
|
||||
- name: Allow group role-teacher to manage printers
|
||||
lineinfile:
|
||||
dest: /etc/cups/cups-files.conf
|
||||
line: 'SystemGroup root lpadmin role-teacher'
|
||||
regexp: '^SystemGroup'
|
||||
state: present
|
||||
when: groups.teacherlaptop is defined and inventory_hostname in groups.teacherlaptop
|
||||
|
||||
- name: Disable cups-browsed
|
||||
ansible.builtin.systemd:
|
||||
name: cups-browsed.service
|
||||
|
|
Loading…
Add table
Reference in a new issue