Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

post-reboot.yaml 446B

12345678910111213
  1. ---
  2. - import_role:
  3. name: ssh_host_key
  4. - name: try to connect to ssh
  5. setup:
  6. - name: assert realistic uptime for successful reboot
  7. assert:
  8. that: (ansible_uptime_seconds | int) <= (reboot_uptime_max_seconds | int)
  9. msg: reboot might not have happened because of unplausible uptime of {{ansible_uptime_seconds}} seconds is higher than the expected {{reboot_uptime_max_seconds}} seconds
  10. when: _reboot_shutdown_timestamp is defined