Update mikrotikbackup_clean.yml
This commit is contained in:
@@ -121,10 +121,12 @@
|
||||
tags: [upgrade, never]
|
||||
|
||||
- name: Wait for router to come back online after reboot
|
||||
ansible.builtin.wait_for_connection:
|
||||
delay: 180
|
||||
timeout: 300
|
||||
sleep: 10
|
||||
community.routeros.command:
|
||||
commands: /system resource print
|
||||
register: reboot_wait
|
||||
until: reboot_wait is not failed
|
||||
retries: 30
|
||||
delay: 15
|
||||
when:
|
||||
- installed_version != latest_version
|
||||
- upgrade_result is not failed
|
||||
|
||||
Reference in New Issue
Block a user