Modified blockinfile module's exmple using loop keyword (#59022)

This commit is contained in:
Kiyo Nagamine 2019-07-17 00:13:04 +09:00 committed by Brian Coca
parent 9c5b3401ff
commit 88c4cf28ea

View file

@ -145,10 +145,10 @@ EXAMPLES = r'''
block: |
{{ item.ip }} {{ item.name }}
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ item.name }}"
with_items:
- { name: host1, ip: 10.10.1.10 }
- { name: host2, ip: 10.10.1.11 }
- { name: host3, ip: 10.10.1.12 }
loop:
- { name: host1, ip: 10.10.1.10 }
- { name: host2, ip: 10.10.1.11 }
- { name: host3, ip: 10.10.1.12 }
'''
import re