Why does an `aws_ec2` inventory file sometimes get ignored with "did not meet aws_ec2 requirements"?

IntermediateConceptInventory
Answer

The plugin verifies the file name. It must end with aws_ec2.yml or aws_ec2.yaml (for example prod.aws_ec2.yml). Other causes: the plugin: key is missing or mis-spelled, or the plugin is not in enable_plugins.

Run with -vvv to see each plugin's reason for skipping the file, and use ansible-inventory --list to confirm parsing.

All Ansible questions Roadmap: Ansible

More on Inventory