mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
14a9966984
Having an uptime fact allows you to check after a reboot whether the system was effectively rebooted. ```yaml - name: Safeguard - Was system properly rebooted ? action: fail msg="System was not properly rebooted" when: ansible_uptime > 900 ``` This patch has been tested on Linux, Solaris and HP-UX. |
||
---|---|---|
.. | ||
ansible |