You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Rene Moser <ma...@renemoser.net> on 2015/06/17 15:01:55 UTC

CloudStack Ansible Role

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi

Paul Angus aleady did some efforts of covering installation of
CloudStack using Ansible in the docs
http://docs.cloudstack.apache.org/en/master/ansible.html Thanks!

But there are some issues with styling, it has some parts in it which
are deprecated and the doc might not be the best place for pasting a
"playbook" because users have to copy and paste it.

I thought it makes perfectly sense to create a complete, best practice,
fully tested Ansible role for installing CloudStack.

I created the skeleton in my GitHub account
https://github.com/resmg/ansible-role-cloudstack.

Role features:
- --------------
- - No hard coupled dependency to other roles (DB installation will be
optional opt-out to let users use their special roles for galera
clusters and so forth)
- - Install and upgrade CloudStack environments(ACS management, DB, KVM
hosts, XEN hosts, ...)
- - Fully tested
- - Debian, Ubuntu and CentOS
- - Apache License (of course)

Goals:
- ------
The role can be used in production for managing CloudStack installation
as well as for testing installations and upgrades.

You will also be able to create docker boxes with help of Ansible's
docker module and this role.

Further in Ansible 2.0, there are already 16 Ansible CloudStack modules
for accessing the API. So a fully configured CloudStack environment just
using Ansible is not far away. This would let us to make deep
integration testing just a command and few playbooks away.


Further:
- --------
It would be nice if this role would be under the "apache" GitHub
namespace to be able to also put it under the "apache" namespace in
https://galaxy.ansible.com/ (role index). But we will look into this,
when it is ready.

Yours
René
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVgW/DAAoJEIMGllvm1jMdVRgP/jdX+RVLEWsUvwCQQvuEVU90
DPCOiMHbeNhXYYCpg27ajqp+RJ9midSb9BHMFT9ZIY9V/J8Mo0AmraoBaWpM5jjB
YmP3RBBHAt6hLjOQ3NFwS6HUnturYRJEZeyvZIppE38bZLT9dPdpH45/knQisQN/
j18+3PDu+LfK18v1QCPcUzfE4lOn8VLao5IPQhavkzbTpGLaypWjL4FyKNx8Xt4b
yEmcwmPMmdFGwDuT27fT1Zsifoq9WLRC1Bz2fYZmHRxtklRtWd8KSMmHXPeAQzf7
0Dgjto5qwjUSBwYRkI3WCcHnvi6yyqmTmIoWpGjBCshO+9miCtw9JsC4nOxmhjR8
sZve9T9wwu/wIUS0dXIyLI1fkPIeCMzU5fu44aOz8+IAFWtNPcbjF6wyWWhuTD4Y
78ThJN3mdhJHiFZfKWdZG20SF/h2m2SWutABjdmSjGOLqT4vms8nqMO6ykkE9rBs
CFmaiop73jNQ7fbfepUZZAUOTjSu9yWyAQjJzDWJQx8Z5J1yngINywLXYOPBpPU9
sRxODUjQ+b5Eh1AVyTAtg2Vp5B1TxG2xIILx/gY2XGJqG5eA36qrLTW0DLbkbJgH
G8akdF2BX/6N2bUOc947fatJ7m4X3dDta8CrhjwtJ+c4eIJGv1jjFCu9Rh+zSGRY
IWgQdqIIJ8NSajhGM8B4
=Ni6B
-----END PGP SIGNATURE-----

Re: CloudStack Ansible Role

Posted by sebgoa <ru...@gmail.com>.
On Jun 17, 2015, at 10:18 PM, Milamber <mi...@apache.org> wrote:

> Hello,
> 
> Great idea. I can help.
> 
> I already created a playbook for CS+Ubuntu+KVM
> https://github.com/milamberspace/ansible-cloudstack-ubuntu-aio
> 
> Some parts can be got from this playbook.
> 
> Milamber
> 

You (rene) Milamber and Paul, should be able to get something really nice here.

thanks for doing this, exactly the type of stuff we need.

-sebastien

> On 17/06/2015 13:01, Rene Moser wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>> 
>> Hi
>> 
>> Paul Angus aleady did some efforts of covering installation of
>> CloudStack using Ansible in the docs
>> http://docs.cloudstack.apache.org/en/master/ansible.html Thanks!
>> 
>> But there are some issues with styling, it has some parts in it which
>> are deprecated and the doc might not be the best place for pasting a
>> "playbook" because users have to copy and paste it.
>> 
>> I thought it makes perfectly sense to create a complete, best practice,
>> fully tested Ansible role for installing CloudStack.
>> 
>> I created the skeleton in my GitHub account
>> https://github.com/resmg/ansible-role-cloudstack.
>> 
>> Role features:
>> - --------------
>> - - No hard coupled dependency to other roles (DB installation will be
>> optional opt-out to let users use their special roles for galera
>> clusters and so forth)
>> - - Install and upgrade CloudStack environments(ACS management, DB, KVM
>> hosts, XEN hosts, ...)
>> - - Fully tested
>> - - Debian, Ubuntu and CentOS
>> - - Apache License (of course)
>> 
>> Goals:
>> - ------
>> The role can be used in production for managing CloudStack installation
>> as well as for testing installations and upgrades.
>> 
>> You will also be able to create docker boxes with help of Ansible's
>> docker module and this role.
>> 
>> Further in Ansible 2.0, there are already 16 Ansible CloudStack modules
>> for accessing the API. So a fully configured CloudStack environment just
>> using Ansible is not far away. This would let us to make deep
>> integration testing just a command and few playbooks away.
>> 
>> 
>> Further:
>> - --------
>> It would be nice if this role would be under the "apache" GitHub
>> namespace to be able to also put it under the "apache" namespace in
>> https://galaxy.ansible.com/ (role index). But we will look into this,
>> when it is ready.
>> 
>> Yours
>> René
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2
>> 
>> iQIcBAEBCAAGBQJVgW/DAAoJEIMGllvm1jMdVRgP/jdX+RVLEWsUvwCQQvuEVU90
>> DPCOiMHbeNhXYYCpg27ajqp+RJ9midSb9BHMFT9ZIY9V/J8Mo0AmraoBaWpM5jjB
>> YmP3RBBHAt6hLjOQ3NFwS6HUnturYRJEZeyvZIppE38bZLT9dPdpH45/knQisQN/
>> j18+3PDu+LfK18v1QCPcUzfE4lOn8VLao5IPQhavkzbTpGLaypWjL4FyKNx8Xt4b
>> yEmcwmPMmdFGwDuT27fT1Zsifoq9WLRC1Bz2fYZmHRxtklRtWd8KSMmHXPeAQzf7
>> 0Dgjto5qwjUSBwYRkI3WCcHnvi6yyqmTmIoWpGjBCshO+9miCtw9JsC4nOxmhjR8
>> sZve9T9wwu/wIUS0dXIyLI1fkPIeCMzU5fu44aOz8+IAFWtNPcbjF6wyWWhuTD4Y
>> 78ThJN3mdhJHiFZfKWdZG20SF/h2m2SWutABjdmSjGOLqT4vms8nqMO6ykkE9rBs
>> CFmaiop73jNQ7fbfepUZZAUOTjSu9yWyAQjJzDWJQx8Z5J1yngINywLXYOPBpPU9
>> sRxODUjQ+b5Eh1AVyTAtg2Vp5B1TxG2xIILx/gY2XGJqG5eA36qrLTW0DLbkbJgH
>> G8akdF2BX/6N2bUOc947fatJ7m4X3dDta8CrhjwtJ+c4eIJGv1jjFCu9Rh+zSGRY
>> IWgQdqIIJ8NSajhGM8B4
>> =Ni6B
>> -----END PGP SIGNATURE-----
>> 
> 


Re: CloudStack Ansible Role

Posted by Milamber <mi...@apache.org>.
Hello,

Great idea. I can help.

I already created a playbook for CS+Ubuntu+KVM
https://github.com/milamberspace/ansible-cloudstack-ubuntu-aio

Some parts can be got from this playbook.

Milamber

On 17/06/2015 13:01, Rene Moser wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi
>
> Paul Angus aleady did some efforts of covering installation of
> CloudStack using Ansible in the docs
> http://docs.cloudstack.apache.org/en/master/ansible.html Thanks!
>
> But there are some issues with styling, it has some parts in it which
> are deprecated and the doc might not be the best place for pasting a
> "playbook" because users have to copy and paste it.
>
> I thought it makes perfectly sense to create a complete, best practice,
> fully tested Ansible role for installing CloudStack.
>
> I created the skeleton in my GitHub account
> https://github.com/resmg/ansible-role-cloudstack.
>
> Role features:
> - --------------
> - - No hard coupled dependency to other roles (DB installation will be
> optional opt-out to let users use their special roles for galera
> clusters and so forth)
> - - Install and upgrade CloudStack environments(ACS management, DB, KVM
> hosts, XEN hosts, ...)
> - - Fully tested
> - - Debian, Ubuntu and CentOS
> - - Apache License (of course)
>
> Goals:
> - ------
> The role can be used in production for managing CloudStack installation
> as well as for testing installations and upgrades.
>
> You will also be able to create docker boxes with help of Ansible's
> docker module and this role.
>
> Further in Ansible 2.0, there are already 16 Ansible CloudStack modules
> for accessing the API. So a fully configured CloudStack environment just
> using Ansible is not far away. This would let us to make deep
> integration testing just a command and few playbooks away.
>
>
> Further:
> - --------
> It would be nice if this role would be under the "apache" GitHub
> namespace to be able to also put it under the "apache" namespace in
> https://galaxy.ansible.com/ (role index). But we will look into this,
> when it is ready.
>
> Yours
> René
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQIcBAEBCAAGBQJVgW/DAAoJEIMGllvm1jMdVRgP/jdX+RVLEWsUvwCQQvuEVU90
> DPCOiMHbeNhXYYCpg27ajqp+RJ9midSb9BHMFT9ZIY9V/J8Mo0AmraoBaWpM5jjB
> YmP3RBBHAt6hLjOQ3NFwS6HUnturYRJEZeyvZIppE38bZLT9dPdpH45/knQisQN/
> j18+3PDu+LfK18v1QCPcUzfE4lOn8VLao5IPQhavkzbTpGLaypWjL4FyKNx8Xt4b
> yEmcwmPMmdFGwDuT27fT1Zsifoq9WLRC1Bz2fYZmHRxtklRtWd8KSMmHXPeAQzf7
> 0Dgjto5qwjUSBwYRkI3WCcHnvi6yyqmTmIoWpGjBCshO+9miCtw9JsC4nOxmhjR8
> sZve9T9wwu/wIUS0dXIyLI1fkPIeCMzU5fu44aOz8+IAFWtNPcbjF6wyWWhuTD4Y
> 78ThJN3mdhJHiFZfKWdZG20SF/h2m2SWutABjdmSjGOLqT4vms8nqMO6ykkE9rBs
> CFmaiop73jNQ7fbfepUZZAUOTjSu9yWyAQjJzDWJQx8Z5J1yngINywLXYOPBpPU9
> sRxODUjQ+b5Eh1AVyTAtg2Vp5B1TxG2xIILx/gY2XGJqG5eA36qrLTW0DLbkbJgH
> G8akdF2BX/6N2bUOc947fatJ7m4X3dDta8CrhjwtJ+c4eIJGv1jjFCu9Rh+zSGRY
> IWgQdqIIJ8NSajhGM8B4
> =Ni6B
> -----END PGP SIGNATURE-----
>


Re: CloudStack Ansible Role

Posted by Rene Moser <ma...@renemoser.net>.
On 06/17/2015 03:01 PM, Rene Moser wrote:
> https://github.com/resmg/ansible-role-cloudstack.

Should be > https://github.com/resmo/ansible-role-cloudstack

Re: CloudStack Ansible Role

Posted by David Nalley <da...@gnsa.us>.
On Wed, Jun 17, 2015 at 9:01 AM, Rene Moser <ma...@renemoser.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi
>
> Paul Angus aleady did some efforts of covering installation of
> CloudStack using Ansible in the docs
> http://docs.cloudstack.apache.org/en/master/ansible.html Thanks!
>
> But there are some issues with styling, it has some parts in it which
> are deprecated and the doc might not be the best place for pasting a
> "playbook" because users have to copy and paste it.
>
> I thought it makes perfectly sense to create a complete, best practice,
> fully tested Ansible role for installing CloudStack.
>
> I created the skeleton in my GitHub account
> https://github.com/resmg/ansible-role-cloudstack.


Very nice

> Further:
> - --------
> It would be nice if this role would be under the "apache" GitHub
> namespace to be able to also put it under the "apache" namespace in
> https://galaxy.ansible.com/ (role index). But we will look into this,
> when it is ready.
>

The project would just need to agree to take this on and then jump
through the paperwork hoops, shouldn't be a big deal.

--David