src.nth.io/

summaryrefslogtreecommitdiff
path: root/roles/automationhat/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/automationhat/tasks/main.yaml')
-rw-r--r--roles/automationhat/tasks/main.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/automationhat/tasks/main.yaml b/roles/automationhat/tasks/main.yaml
new file mode 100644
index 0000000..405b450
--- /dev/null
+++ b/roles/automationhat/tasks/main.yaml
@@ -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"