[ansible-project] Re: Hostnames with EC2 inventory plugin

2018-04-12 Thread oscar
Thank you very much for the information, and for the work! seems like 
ansible developers accepeted it, wich are great news. 

Regards,
Oscar

El miércoles, 11 de abril de 2018, 11:36:46 (UTC+2), flowerysong escribió:
>
> On Wednesday, April 11, 2018 at 3:19:51 AM UTC-4, os...@apartum.com wrote:
>>
>> I'm testing the new Amazon EC2 dynamic inventory plugin. I need to set 
>> the host names to the "Name" tag, but I don't understand the documentation. 
>> Reading this: 
>> http://docs.ansible.com/ansible/latest/plugins/inventory/aws_ec2.html I 
>> understand I should write something like this:
>>
>> hostnames:
>>   - tag:Name=Name
>>
>>
> The inventory plugin does not currently have useful support for setting 
> hostnames from tags. I submitted a pull request (
> https://github.com/ansible/ansible/pull/35880) to add this functionality, 
> but it hasn't been merged yet.
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/111a9144-123e-4f98-bbea-6dd94e1098e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: Hostnames with EC2 inventory plugin

2018-04-11 Thread flowerysong
On Wednesday, April 11, 2018 at 3:19:51 AM UTC-4, os...@apartum.com wrote:
>
> I'm testing the new Amazon EC2 dynamic inventory plugin. I need to set the 
> host names to the "Name" tag, but I don't understand the documentation. 
> Reading this: 
> http://docs.ansible.com/ansible/latest/plugins/inventory/aws_ec2.html I 
> understand I should write something like this:
>
> hostnames:
>   - tag:Name=Name
>
>
The inventory plugin does not currently have useful support for setting 
hostnames from tags. I submitted a pull request 
(https://github.com/ansible/ansible/pull/35880) to add this functionality, 
but it hasn't been merged yet.

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7851c084-7697-4a54-bf0e-739c726012fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.