Commit Graph

2 Commits (066a68318c9e9ea5e96945768a4af793be914631)

Author SHA1 Message Date
Dustin 00d30a67fb base: Enable serial console on KVM VMs
Occasionally, VMs running on the main libvirt VM hosts will freeze or
otherwise become unavailable via network.  Sometimes, when this happens,
their normal consoles are unresponsive as well.  Having the serial
console available as a fallback can sometimes be helpful in recovering
from such situations.

To ensure the serial console is available on all VMs, we use a "dynamic"
group, based on the virtualization type and role of the managed node.
All KVM-based virtual machines are included in a group named *kvm-vm*.
A play in `base.yml` applies the *serial-console* role to members of
this group.
2021-10-16 14:34:51 -05:00
Dustin 7de51f4bc5 dyngroups: Dynamic host classification
The `dyngroups.yml` playbook groups hosts dynamically based on gathered
facts. Currently, the `ansible_os_family` fact is used to group hosts by
Linux distribution.
2018-03-27 20:44:43 -05:00