add reboot playbook
This commit is contained in:
13
reboot.yml
Normal file
13
reboot.yml
Normal file
@@ -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
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
listen_interface: mgmnt
|
listen_interface: mgmnt
|
||||||
listen_port: 9100
|
listen_port: 9100
|
||||||
autocommit: true
|
autocommit: true
|
||||||
- name: Reboot device
|
- name: Reboot devices
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: "reboot"
|
cmd: "reboot"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|||||||
Reference in New Issue
Block a user