samdoran.com - Sam Doran

Description: Musings of a coffee loving, tree climbing, wrench turning, Linux/macOS/Python nerd

photography (49386) technology (15732) linux (6717) network (6419) ios (6251) coffee (5253) apple (4878) mac (3190) mac os x (231) octopress (5)

Example domain paragraphs

Tuesday, September 4, 2018 at 18:09 EDT • ∞

Rebooting Linux systems with Ansible has always been possible, but was tricky and error-prone. In Ansible 2.7, I am happy to say that rebooting Linux hosts with Ansible is finally easy and can be done with a single task using the newly minted reboot plugin .

The win_reboot module was written by Matt Davis and included with Ansible 2.1. Rebooting Windows hosts is a much more common occurrence than rebooting Linux hosts. Necessity is the mother of invention, so it made sense that win_reboot appeared before the equivalent for Linux. And while less than elegant, it is possible to reboot Linux hosts using shell and wait_for or wait_for_connection 1 .

Links to samdoran.com (1)