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/f330fb2c-a5a5-4c68-9360-91d0b2bd6f45%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
