Initialize Arduino IDE setup

This commit is contained in:
Jeckel 2020-10-02 00:12:14 +02:00
vanhempi e525bf9850
commit 0cfbf63221
5 muutettua tiedostoa jossa 24 lisäystä ja 3 poistoa

1
.gitignore vendored Normal file
Näytä tiedosto

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

Näytä tiedosto

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

Näytä tiedosto

@ -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

Näytä tiedosto

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

Näytä tiedosto

@ -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