Skip to content

Instantly share code, notes, and snippets.

@marzdgzmn
Created April 29, 2019 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marzdgzmn/0e30245d668b54a7c045a84ccd4986c0 to your computer and use it in GitHub Desktop.
Save marzdgzmn/0e30245d668b54a7c045a84ccd4986c0 to your computer and use it in GitHub Desktop.
firewalld_zone_interface:
- zone: internal
interface:
- eth0
- eth1
- name: test
debug:
msg: "{{ outer_item.zone }} interfaces: {{ item }}"
loop: "{{ outer_item.interface }}"
loop: "{{ firewalld_zone_interface }}"
loop_control:
loop_var: outer_item
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment