Simple wrapper over the lxdm ansible role to manage LXD container lifecyle.
acm stand for 'ansible container management'.
See the ansible-lxdm role.
To install in your path:
make installSee:
acm -h# start container ('u' for up)alias acu="acm start"# stop containeralias acs="acm stop"# restart containeralias acr="acm restart"# delete containeralias acd="acm delete"# freeze containeralias acf="acm freeze"# provision containeralias acp="acm provision"Another way would be with a python CLI using pylxd bindings, and the ansible
API. It would be required to inject Dynamic inventory...