-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update 'Dynamic inventory with AWS' example to use inventory plugin #303
Comments
In chapter 8, I updated the "Dynamic inventory with AWS" example thusly:
|
I'm also updating the example in Chapter 9 to be able to use the following ---
plugin: aws_ec2
regions:
- us-east-1
hostnames:
- ip-address
keyed_groups:
- key: tags.inventory_group
separator: ''
- key: tags.Application
separator: '' This allows you to use the dynamic inventory plugin instead of the extra
|
Related: #201 and #229.
Basically, need to start using the dynamic AWS inventory plugin instead of the inventory script the book currently mentions. There's a related episode of Ansible 101 on this topic: https://youtu.be/_rDzMYp-fBs?t=2464
The text was updated successfully, but these errors were encountered: