You can reboot and reconnect to your hosts between Ansible tasks.
# Other task above here.
# Now reboot and reconnect
# The at module allows ansible to issue the command and disconnect
# cleanly before the reboot disconnects the network connection.
- name: Reboot in one minute
at: command=reboot count=1 units=minutes
# You may need to adjust this dependong on how fast your host halts.
- name: Wait for reboot to start and hopefully finish
- name: Try to re-connect to rebooted host before continuing
# Continue your tasks...
- blocks group tasks for better control and debugging.
- at uses the UNIX at tool.
- pause pauses like sleep.
- Retries and delay works like a do until loops.
CFEngine has switched to a
JIRA bug system and this
system allows us to vote for bugs. I encourage you to vote for your favourite
bugs; here are mine:
Continue reading Vote for your favourite CFEngine bugs...
Terraform allows you to manage your AWS, and other
cloud infrastructure, the same way you would manage servers using configuration
management products like CFEngine or Puppet. Terraform is idempotent and
convergent so only required changes are applied.
Continue reading Introduction to Terraform...
I saw a great Terraform presentation last week at a
Devops meetup. Terraform is a configuration
management tool for virtual infrastructure. You can define your AWS or similar
environment using a descriptive language.
CFEngine’s time based classes and promise theory make it an attractive
alternative to venerable crond.
Continue reading CFEngine as a crond alternative...