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