Modified blockinfile module's exmple using loop keyword (#59022)
This commit is contained in:
parent
9c5b3401ff
commit
88c4cf28ea
1 changed files with 4 additions and 4 deletions
|
@ -145,7 +145,7 @@ EXAMPLES = r'''
|
|||
block: |
|
||||
{{ item.ip }} {{ item.name }}
|
||||
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ item.name }}"
|
||||
with_items:
|
||||
loop:
|
||||
- { name: host1, ip: 10.10.1.10 }
|
||||
- { name: host2, ip: 10.10.1.11 }
|
||||
- { name: host3, ip: 10.10.1.12 }
|
||||
|
|
Loading…
Reference in a new issue