Thanks for sharing Larry! I'll take a look at your automation... Cheers! On Sunday, March 13, 2016 at 9:57:17 PM UTC-3, Larry Smith wrote: > > I did this exact same thing a few months ago but using Kilo and Ubuntu > 14.04LTS which may be of some use to you. However I did use some of the > modules which have been replaced but should not be too hard to make those > changes. Again just sharing this as it may be of some use for you. > > https://github.com/mrlesmithjr/ansible-openstack > > > On Saturday, March 12, 2016 at 1:55:41 AM UTC-5, Thiago Martins wrote: >> >> On Saturday, March 12, 2016 at 3:40:42 AM UTC-3, Thiago Martins wrote: >>> >>> Hey guys, >>> >>> Currently, I'm developing an OpenStack Mitaka Ansible automation for >>> Ubuntu 16.04. >>> >>> I'm using a lot of "command / shell" Ansible modules and I would like >>> to avoid it, and start using native Ansible OS modules. >>> >>> However, I can't find native modules for creating OpenStack Services, >>> Projects, Users, Roles and Endpoints... Am I missing something? >>> >>> >>> This is how I am doing it today (looks ugly but it works for Mitaka b2): >>> >>> >>> >>> https://github.com/tmartinx/svauto/blob/dev/ansible/roles/os_openstack_data/tasks/openstack-services.yml >>> >>> >>> https://github.com/tmartinx/svauto/blob/dev/ansible/roles/os_openstack_data/tasks/openstack-pur.yml >>> >>> >>> https://github.com/tmartinx/svauto/blob/dev/ansible/roles/os_openstack_data/tasks/openstack-endpoints.yml >>> >>> >>> I think that it would be super awesome to use native Ansible modules to >>> do all of this, is it possible? >>> >>> Thanks! >>> Thiago >>> >> >> Right, it is Friday night, looong week and I'm a bit tired... =P >> >> >> I just found those modules: >> >> >> https://docs.ansible.com/ansible/os_project_module.html >> >> https://docs.ansible.com/ansible/os_user_module.html >> >> >> That apparently, can help me to create initial Projects and Users, but, >> what about Services, Roles and Endpoints? >> >> BTW, I'm using Ansible 2.0 from Ubuntu 16.04... >> >> Cheers! >> Thiago >> >
-- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4f39d469-e4ae-40f4-9a96-7f6691e1c14c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
