Mastering Development System & Network

Can I use Ansible systemd module to halt CoreOS system?

I just need a simple playbook or ad-hoc syntax to shutdown a group of CoreOS hosts.

Something tells me I may need to use the shell module, which truthfully wouldn’t be awful.

The proper way to shutdown a CoreOS host is ‘systemctl poweroff’.

Leave a Reply

Your email address will not be published. Required fields are marked *