From 5394bf3e0fcfc891fd59a7c2a00fc0b37a0c3fda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Sun, 10 Mar 2019 14:23:06 +0100 Subject: [PATCH] File copy --- softwares/arduino.sls | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/softwares/arduino.sls b/softwares/arduino.sls index 58fb132..34b79dc 100644 --- a/softwares/arduino.sls +++ b/softwares/arduino.sls @@ -1,3 +1,14 @@ {% 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: True +# - source_hash: https://launchpad.net/veracrypt/trunk/1.23/+download/veracrypt-1.23-sha512sum.txt + - name : "/tmp/arduino.tar.xz" + - user: root + - group: root + - mode: 755 + {% endif %} \ No newline at end of file