Skip to content

fractalcells/ansible-iocell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-iocell

iocell module for ansible.

Usecases:

fetch 10.3-RELEASE:

iocell: state=fetched release=10.3-RELEASE

create basejail:

iocell: state=basejail tag="foo" release=10.3-RELEASE

create template:

iocell: state=template tag=template release=10.3-RELEASE properties="ip4_addr=lo0|10.1.0.1' resolver='nameserver 127.0.0.1'"

clone existing jail:

iocell: state=cloned tag="foo" uuid="05a32718-2de2-11e5-ad68-a710c4a2a00f" properties="ip4_addr='lo1|10.1.0.5' boot=on allow_sysvipc=1 pkglist=/path/to/pkglist.txt defaultrouter='10.1.0.1'"

start existing jail:

iocell: state=started uuid="05a32718-2de2-11e5-ad68-a710c4a2a00f"

stop existing jail:

iocell: state=stopped uuid="05a32718-2de2-11e5-ad68-a710c4a2a00f"

restart existing jail:

iocell: state=restarted uuid="05a32718-2de2-11e5-ad68-a710c4a2a00f"

execute command in (running) jail:

iocell: state=exec uuid="05a32718-2de2-11e5-ad68-a710c4a2a00f" user="root" cmd="service sshd start"

force destroy jail:

iocell: state=absent uuid="05a32718-2de2-11e5-ad68-a710c4a2a00f"

set attributes on jail:

iocell: state=set uuid="05a32718-2de2-11e5-ad68-a710c4a2a00f" properties="istemplate=yes"

Expected results of ansible_test.yml

PLAY RECAP *********************************************************************************************** / : ok=28 changed=18 unreachable=0 failed=0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages