cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajani Karuturi <>
Subject Re: CloudStack related changes in Ansible 2.3
Date Fri, 14 Apr 2017 05:10:27 GMT
Great work Rene. Thank you.

~ Rajani

On April 12, 2017 at 8:43 PM, Rene Moser (

Hi CloudStack users

Ansible 2.3 is about to be released, I would like to summarize
CloudStack related features and changes in this release.

New modules

- cs_host
- cs_nic
- cs_region
- cs_role
- cs_vpc

Examples and usage for these modules can be found in the docs,


The CloudStack guide has been
note the new feature "Environment Variables"


The VPC support has been improved in the related modules, but
there is
still some work to do.

Integration tests

Soon, CloudStack related new Ansible PRs will be automatically
(~1.000 tasks) on a CI against a CloudStack Simulator running

Future Module Development

Due some other side projects of mine (writing books takes more
time than
one would might think), development of new modules is lagging a
bit. One
module (cs_serviceoffer) is currently WIP

But no worries, new modules are planed:
- cs_diskoffer
- modules for VPN setup

Cloud Role

At SWISS TXT, we created a Ansible role for setting up VMs in a
cloudstack cloud with advanced networking for different customer
projects, The role is open source (BSD) and can be found on

Feel free to fork and improve it.

Goal of my Ansible CloudStack Project

I often get ask, why I am doing it.

My goal is to not only install and upgrade CloudStack by Ansible
is relatively easy... and can even be done without that much
api interaction) but configure _and_ maintaining a cloud (basic
advanced networking) in a reliable way!

It will install the OS and install cloudstack management server,
the OS on the hosts, setup hypversisors, create zones, pods,
accounts, users, add configured hosts to cloudstack all this by
a single
run and the best of it, you can re-run it safely again and
without fear breaking anything.

Have to add a new host? No problem, put the hardware in the rack
connect it to the net, ansible will take care on the next run:
it can be
that simple.

Also note, ansible can manage your network switches, routers and
firewalls too!

The possibilities are endless...

  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message