Skip to content
/ acm Public

Simple wrapper over the lxdm ansible role to manage LXD containers lifecyle.

Notifications You must be signed in to change notification settings

archf/acm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ACM

Simple wrapper over the lxdm ansible role to manage LXD container lifecyle.

acm stand for 'ansible container management'.

See the ansible-lxdm role.

Installation

To install in your path:

make install

Usage

See:

acm -h

Useful alias

# start container ('u' for up)
alias acu="acm start"

# stop container
alias acs="acm stop"

# restart container
alias acr="acm restart"

# delete container
alias acd="acm delete"

# freeze container
alias acf="acm freeze"

# provision container
alias 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...

About

Simple wrapper over the lxdm ansible role to manage LXD containers lifecyle.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published