With my new job title of Linux System Administrator (more correctly “Administrateur Systèmes Linux“), there are some new things I have had to learn. One is the wonderful world of Ansible.

However, there is one thing that plagued me, rebooting the system and having it wait to run the next command. This is important for patching up a server then making sure everything came back up alright.

After scouring the web and trying out every post I found. I found a post that I was able to piece together other’s response to get a valid, working, solution.