25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

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