Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Part 7 of ansible-aws-inventory-main.yml file
- 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