Skip to content

Instantly share code, notes, and snippets.

@tairov
Created May 11, 2018 01:22
Show Gist options
  • Save tairov/f41adab6311f4abc9d8fd7145de9fd1e to your computer and use it in GitHub Desktop.
Save tairov/f41adab6311f4abc9d8fd7145de9fd1e to your computer and use it in GitHub Desktop.
- name: Set serviceName for ingress rules
debug: msg="{{ definition.spec.rules[sub_index] }}"
with_subelements:
- "{{ definition.spec.rules }}"
- http.paths
loop_control:
index_var: sub_index
when: type == 'ingress'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment