Using pyinfra
Deploy Reference
vzctl.OpenvzContainers
How pyinfra Works
Meta
host.get_fact(OpenvzContainers, )
Returns a dict of running OpenVZ containers by CTID:
{ 666: { "ip": [], "ostemplate": "ubuntu...", ... }, }