Created
April 16, 2019 01:37
-
-
Save nivleshc/544fcb963cdcb5c571262cd5d1d01ba4 to your computer and use it in GitHub Desktop.
Part 7 of ansible-aws-inventory-main.yml file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: print out the output filenames for each of the resoureces inventoried | |
debug: | |
msg: | |
- "{{ item }} output filename: {{ lookup('vars', item + outputfile_variablename_suffix) }}" | |
with_items: | |
- vpc | |
- subnet | |
- igw | |
- cgw | |
- vgw | |
- ami | |
- eip | |
- snapshot | |
- volume | |
- routetable | |
- securitygroup | |
- nacl | |
- ec2 | |
- elb | |
- rds_instance | |
- rds_snapshot | |
- s3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment