You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.
i play in the last time a lot with the ansible and i think that we need in this module a timer how will stop the script after the applying of the auth_codes was sucessful, becasue the FW will reboot automatically and i lost everytime the connection and the script will fail...off course and therefore would it be really helpful to have an timer in this script of 60 - 180 seconds.
The text was updated successfully, but these errors were encountered:
In the meantime, a reasonable workaround that Ive used for upgrading Juniper devices is to add a wait_for task after the reboot kicks off that keeps the rest of the playbook from failing.
- name: Pause for reboot after upgrade
wait_for:
port: 22
host: "{{ inventory_hostname }}"
delay: 420
timeout: 1500
sleep: 5
This tells it to start checking for port 22 after 420 seconds, then poll the port every 5 seconds up to 1500 seconds(including the delay).
Good morning,
i play in the last time a lot with the ansible and i think that we need in this module a timer how will stop the script after the applying of the auth_codes was sucessful, becasue the FW will reboot automatically and i lost everytime the connection and the script will fail...off course and therefore would it be really helpful to have an timer in this script of 60 - 180 seconds.
The text was updated successfully, but these errors were encountered: