Quantcast
Channel: Blog O' Matty on Prefetch Technologies
Viewing all articles
Browse latest Browse all 43

Using the Ansible async module to perform synthetic health tests during playbook runs

$
0
0
I’ve become a huge fan of Ansible’s async support. This is incredibly useful for performing synthetic health tests on services after a task completes. A common use case is patching a server that hosts one or more applications. You ideally want to gracefully stop your application, update packages, reboot, and then test the application to ensure its healthy. Updating the system and scheduling the reboot is easy to accomplish with serial, reboot and a sentinel creation script:

Viewing all articles
Browse latest Browse all 43

Trending Articles