summaryrefslogtreecommitdiff
path: root/dan/ele-ups.yml
diff options
context:
space:
mode:
Diffstat (limited to 'dan/ele-ups.yml')
-rw-r--r--dan/ele-ups.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/dan/ele-ups.yml b/dan/ele-ups.yml
new file mode 100644
index 00000000..7843c1ff
--- /dev/null
+++ b/dan/ele-ups.yml
@@ -0,0 +1,17 @@
+---
+- hosts: ele-ups
+ connection: local
+ roles:
+ - role: openwrt/image
+ # post_tasks:
+ # - name: copy image to target
+ # command: "scp '{{ openwrt_output_images[0] }}' '{{ inventory_hostname }}:/tmp/ansible-upgrade.img'"
+
+ # - name: run sysupgrade
+ # command: "ssh '{{ inventory_hostname }}' sysupgrade -n '/tmp/ansible-upgrade.img'"
+ # ignore_errors: true
+ # failed_when: false
+ # register: sysupgrade_result
+
+ # - debug:
+ # var: sysupgrade_result.stdout