It does all of it.

https://github.com/mrlesmithjr/ansible-openstack/blob/master/tasks/openstack_keystone_services.yml
https://github.com/mrlesmithjr/ansible-openstack/blob/master/tasks/openstack_keystone_roles.yml
https://github.com/mrlesmithjr/ansible-openstack/blob/master/tasks/openstack_keystone_endpoints.yml

On Sun, Mar 13, 2016 at 8:57 PM, Larry Smith <[email protected]> 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 a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/GcPf8QlJ_Do/unsubscribe.
> To unsubscribe from this group and all its topics, 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/007f374f-7d0a-46b8-8529-76fc437272b8%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/007f374f-7d0a-46b8-8529-76fc437272b8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Twitter @mrlesmithjr <http://twitter.com/mrlesmithjr>
Blog EverythingShouldBeVirtual.com
Interested in blog sponsorship? Go to http://bit.ly/10Aj7Sq

-- 
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/CAKU_t58dZxibRRU9rNWMjveOhhdPVLNiJArv9oGS2yAZgBqCGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to