Initialize Arduino IDE setup

This commit is contained in:
Jeckel 2020-10-02 00:12:14 +02:00
parent e525bf9850
commit 0cfbf63221
5 changed files with 24 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.retry

View File

@ -3,5 +3,7 @@
hosts: localhost
connection: local
become_method: sudo
become: yes
roles:
- role: common
- role: arduino

View File

@ -0,0 +1,4 @@
---
arduino_version: "1.8.18"
arduino_ide_url: "https://downloads.arduino.cc/arduino-{{ arduino_version }}-linuxarm.tar.xz"
arduino_download_directory: /opt/arduino

View File

@ -0,0 +1,11 @@
---
- name: "Install arduino needed packages"
apt:
name:
- picocom
- python-pip
state: latest
- name: "install inotool with pip"
pip:
name: ino

View File

@ -1,4 +1,9 @@
---
- name: "Update apt-cache"
apt:
update_cache: yes
cache_valid_time: 3600
- name: "Install common packages"
apt:
name:
@ -17,6 +22,4 @@
- wget
- whois
- xclip
state: present
update_cache: yes
become: yes
state: latest