Skip to content

Commit

Permalink
Use loop
Browse files Browse the repository at this point in the history
  • Loading branch information
djzager committed Jul 16, 2018
1 parent 29fa285 commit 4069038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
state: "{{ state }}"
definition: "{{ lookup('template', item.name) | from_yaml }}"
when: item.apply | default(True)
with_items:
loop:
- name: service.yaml.j2
- name: pvc.yaml.j2
- name: route.yaml.j2
Expand Down

0 comments on commit 4069038

Please sign in to comment.