diff --git a/reboot.yml b/reboot.yml new file mode 100644 index 0000000..ceeeb4d --- /dev/null +++ b/reboot.yml @@ -0,0 +1,13 @@ +- hosts: accessPoints + ignore_unreachable: true + gather_facts: false + vars: + openwrt_install_recommended_packages: no + roles: + - gekmihesg.openwrt + + tasks: + - name: Reboot devices + ansible.builtin.command: + cmd: "reboot" + changed_when: false \ No newline at end of file diff --git a/setupAllAPs.yml b/setupAllAPs.yml index 55a1c31..50f89d7 100644 --- a/setupAllAPs.yml +++ b/setupAllAPs.yml @@ -32,7 +32,7 @@ listen_interface: mgmnt listen_port: 9100 autocommit: true - - name: Reboot device + - name: Reboot devices ansible.builtin.command: cmd: "reboot" changed_when: false