Skip to content

Instantly share code, notes, and snippets.

@markuman
Created March 21, 2019 18:03
Show Gist options
  • Save markuman/f46c7d19467b5a80cf150f84a80dda3d to your computer and use it in GitHub Desktop.
Save markuman/f46c7d19467b5a80cf150f84a80dda3d to your computer and use it in GitHub Desktop.
- name: build ec2 list
set_fact:
amazon_ranges_list: "{{ amazon_ranges_list + [{'proto': 'all', 'cidr_ip': item, 'rules_desc': 'AMAZON'}]}}"
with_items: "{{ amazon_ranges }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment