Added with_items dictionary example.

Example of using with items with more than one parameter.
pull/63/head
Kyle Walker 10 years ago
parent b729954019
commit 26c85ea943
  1. 9
      language_features/loop_with_items.yml

@ -26,5 +26,10 @@
- testuser1
- testuser2
- name: copy templates
template: src={{ item.src }} dest={{ item.dest }}
with_items:
- src: templates/testsource1
dest: dest=/example/dest1/test.conf
- src: templates/testsource2
dest: dest=dest=/example/dest2/test.conf