The aws_ec2 Inventory Plugin
Pull EC2 hosts by tag automatically.
Meet aws_ec2
The amazon.aws.aws_ec2 plugin queries the EC2 API and turns your running instances into Ansible hosts automatically.
Install the Collection First
The plugin lives in the amazon.aws collection. Install it from Galaxy before you can enable or use it.
ansible-galaxy collection install amazon.awsAll lessons in this course
- Static Limits & the Inventory Plugin Model
- The aws_ec2 Inventory Plugin
- constructed: Group Hosts by Tags
- Caching & Multiple Inventory Sources