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 firstname.lastname@example.org. 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.