Ansible reboot

How does ansible reboot work?

Is it going group by group? Does it reboot the servers in the first group waits for them to go up and only then starting with the second group?

How does ansible reboot work?

Is it going group by group? Does it reboot the servers in the first group waits for them to go up and only then starting
with the second group?

Which kind of groups are you referring to?

Regards
        Racke

Group in Hosts file

hosts:

  • worker
  • master
  • etc

Like for any other task, Ansible is going to run the task in parallel for all host in the play (to my knowledge).

You can change that with the "serial" keyword:

Thank you.