Files
states/softwares/arduino.sls
Iwan Clément bf82e853b1 Avec Hash
2019-03-10 14:25:06 +01:00

14 lines
391 B
Plaintext

{% if grains['kernel'] == 'Linux' %}
{% set LURL='https://www.arduino.cc/download_handler.php?f=/arduino-1.8.8-linux64.tar.xz' %}
'Arduino IDE copy':
file.managed:
- source: {{LURL}}
- skip_verify: False
- source_hash: https://downloads.arduino.cc/arduino-1.8.8.sha512sum.txt
- name : "/tmp/arduino.tar.xz"
- user: root
- group: root
- mode: 755
{% endif %}