Using pyinfra
Deploy Reference
vzctl.OpenvzContainers
How pyinfra Works
Meta
host.get_fact(OpenvzContainers, )
rns a dict of running OpenVZ containers by CTID:
ode:: python
“ip”: [], “ostemplate”: “ubuntu…”, …
},
}