Merge branch 'platformio' into 'master'
Add platformio (fixes #16) Closes #16 See merge request fablab/labsync!62
This commit is contained in:
commit
e5a27b3ffd
2 changed files with 18 additions and 0 deletions
|
|
@ -24,5 +24,8 @@
|
||||||
- import_tasks: prusa.yml
|
- import_tasks: prusa.yml
|
||||||
tags:
|
tags:
|
||||||
- fablab:prusa
|
- fablab:prusa
|
||||||
|
- import_tasks: platformio.yml
|
||||||
|
tags:
|
||||||
|
- fablab:platformio
|
||||||
tags:
|
tags:
|
||||||
- fablab
|
- fablab
|
||||||
|
|
|
||||||
15
packer/ansible/roles/fablab/tasks/platformio.yml
Normal file
15
packer/ansible/roles/fablab/tasks/platformio.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
- name: Ensure pip3 is installed
|
||||||
|
apt:
|
||||||
|
name: python3-pip
|
||||||
|
|
||||||
|
- name: Install platformio via pip
|
||||||
|
pip:
|
||||||
|
name: platformio
|
||||||
|
state: latest
|
||||||
|
executable: pip3
|
||||||
|
|
||||||
|
- name: Add guest user to dialout group
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/guest-account/groups
|
||||||
|
line: dialout
|
||||||
Loading…
Add table
Add a link
Reference in a new issue