Why am I Getting Duplicate Hosts Using AWS Dynamic Inventory With hostname_variable as source variable in Ansible Tower?
Issue
When using AWS dynamic inventory in Ansible Tower with hostname_variable as inventory source variable, I'm getting duplicate hosts with host IP and hostname. Following is how hostname_variable is defined in source variables.
For example:
hostname_variable: 'private_dns_name'
Environment
Ansible Tower <3.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
