Working ansible command/task for restarting nodes

I didn’t find any working ansible commands to do something on a node, then reboot it, wait for it to come back and do other stuff, so I experimented around and wrote a working
one.
You’ll probably run into trouble when your SSH port is not 22. I guess you can write something with jinja2 syntax to get the SSH port from ansible.
It probably will not work at all, if your SSH port is defined in an ssh_config file (Read the man page for that name, if you don’t know what it is, if you’re interested) and not the ansible hosts list.

I tested this on Ansible 2.2.0.0 and it works here.

„Working ansible command/task for restarting nodes“ weiterlesen

DIY Smartmirror (A Mirror with a HUD)

I’ve decided to make this article english only. Mainly because I’m lazy but also because everyone who wants to do something similar should definitely understand english.

The question is: What the heck is a SmartMirror?

„DIY Smartmirror (A Mirror with a HUD)“ weiterlesen