roles/automationhat/tasks/main.yaml
changeset 0 30d8bcb1ebb4
child 9 511e97bd5566
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/roles/automationhat/tasks/main.yaml	Fri Jan 19 11:48:25 2018 -0600
@@ -0,0 +1,13 @@
+---
+
+- name: download automationhat install script
+  get_url:
+    url: "https://get.pimoroni.com/automationhat"
+    dest: "/tmp/automationhat.sh"
+    mode: 0750
+
+- name: install automationhat
+  shell: "/tmp/automationhat.sh"
+  args:
+    chdir: "/tmp"
+    executable: "/bin/bash"