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 hosts: localhost
connection: local connection: local
become_method: sudo become_method: sudo
become: yes
roles: roles:
- role: common - 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" - name: "Install common packages"
apt: apt:
name: name:
@ -17,6 +22,4 @@
- wget - wget
- whois - whois
- xclip - xclip
state: present state: latest
update_cache: yes
become: yes