diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-01-30 12:57:27 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-01-30 12:57:27 +0100 |
commit | 255baed9440e5656abc225461788a1b265c1e814 (patch) | |
tree | 5bacd5bacab53a8a8f3484671de1e18109a71935 /dan/ele-ap.yml | |
parent | added ele-ups router (diff) |
minor cleanups and whitespace fixes
Diffstat (limited to 'dan/ele-ap.yml')
-rw-r--r-- | dan/ele-ap.yml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/dan/ele-ap.yml b/dan/ele-ap.yml index a64ed8a4..7230dea6 100644 --- a/dan/ele-ap.yml +++ b/dan/ele-ap.yml @@ -1,18 +1,18 @@ --- -- hosts: ele-ap +- name: Basic Setup + hosts: ele-ap connection: local roles: - - role: openwrt/image - delegate_to: localhost + - 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 |