Use silhouette via usbip
This commit is contained in:
parent
f572fd62f0
commit
c1543de3d9
2 changed files with 27 additions and 4 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 6b1d81884cd2df50ee78a248b8c3a219695bd38c
|
||||
Subproject commit 8afe49a2a52bb13bb2a34331e7c9625fb05529bf
|
||||
|
|
@ -1,7 +1,9 @@
|
|||
---
|
||||
- name: install python-usb
|
||||
- name: install python-usb and usbip
|
||||
apt:
|
||||
name: python-usb
|
||||
name:
|
||||
- python-usb
|
||||
- usbip
|
||||
state: present
|
||||
|
||||
- name: copy files
|
||||
|
|
@ -10,8 +12,29 @@
|
|||
dest: /usr/share/inkscape/extensions
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
loop:
|
||||
- sendto_silhouette.inx
|
||||
- sendto_silhouette.py
|
||||
- silhouette
|
||||
|
||||
- name: usbip.sh should be executable
|
||||
file:
|
||||
dest: "/usr/share/inkscape/extensions/silhouette/usbip.sh"
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0755"
|
||||
|
||||
- name: add lp group to guest account
|
||||
lineinfile:
|
||||
path: /etc/guest-account/groups
|
||||
line: lp
|
||||
create: yes
|
||||
|
||||
- name: add sudoers config
|
||||
copy:
|
||||
content: "%lp ALL=(root) NOPASSWD:/usr/share/inkscape/extensions/silhouette/usbip.sh\n"
|
||||
dest: /etc/sudoers.d/silhouette
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue