From @dhikrahashim on Jul 28, 2020 05:37
SUMMARY
We have "aws_ec2" plugin for dynamic inventory, suppose if we have multiple AWS accounts we need to create inventory for each AWS account. If the aws_profile parameter is "list" type we need only one inventory playbook to fetch the inventories. We can use "with_items" or "loop" I guess
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION
plugin: aws_ec2
aws_profile:
- new-relic-aws
- splunk-aws
- application-aws
- database-aws
Copied from original issue: ansible/ansible#70928
From @dhikrahashim on Jul 28, 2020 05:37
SUMMARY
We have "aws_ec2" plugin for dynamic inventory, suppose if we have multiple AWS accounts we need to create inventory for each AWS account. If the aws_profile parameter is "list" type we need only one inventory playbook to fetch the inventories. We can use "with_items" or "loop" I guess
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION
Copied from original issue: ansible/ansible#70928