diff options
Diffstat (limited to 'dan/ele-ups.yml')
-rw-r--r-- | dan/ele-ups.yml | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/dan/ele-ups.yml b/dan/ele-ups.yml index 7843c1ff..fa780eaf 100644 --- a/dan/ele-ups.yml +++ b/dan/ele-ups.yml @@ -1,17 +1,18 @@ --- -- hosts: ele-ups +- name: Basic Setup + hosts: ele-ups connection: local roles: - - role: openwrt/image + - role: openwrt/image # post_tasks: - # - name: copy image to target - # command: "scp '{{ openwrt_output_images[0] }}' '{{ inventory_hostname }}:/tmp/ansible-upgrade.img'" + # - 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 + # - 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 + # - debug: + # var: sysupgrade_result.stdout |