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

pull/59150/head
Kiyo Nagamine 5 years ago committed by Brian Coca
parent 9c5b3401ff
commit 88c4cf28ea

@ -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

Loading…
Cancel
Save