mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Consistency in space between parenthesys (#18796)
This commit is contained in:
committed by
Matt Clay
parent
f8832bf302
commit
f5da520bbb
@@ -129,8 +129,8 @@ EXAMPLES = r"""
|
|||||||
marker: "<!-- {mark} ANSIBLE MANAGED BLOCK -->"
|
marker: "<!-- {mark} ANSIBLE MANAGED BLOCK -->"
|
||||||
insertafter: "<body>"
|
insertafter: "<body>"
|
||||||
content: |
|
content: |
|
||||||
<h1>Welcome to {{ansible_hostname}}</h1>
|
<h1>Welcome to {{ ansible_hostname }}</h1>
|
||||||
<p>Last updated on {{ansible_date_time.iso8601}}</p>
|
<p>Last updated on {{ ansible_date_time.iso8601 }}</p>
|
||||||
|
|
||||||
- name: remove HTML as well as surrounding markers
|
- name: remove HTML as well as surrounding markers
|
||||||
blockinfile:
|
blockinfile:
|
||||||
@@ -142,8 +142,8 @@ EXAMPLES = r"""
|
|||||||
blockinfile:
|
blockinfile:
|
||||||
dest: /etc/hosts
|
dest: /etc/hosts
|
||||||
block: |
|
block: |
|
||||||
{{item.ip}} {{item.name}}
|
{{ item.ip }} {{ item.name }}
|
||||||
marker: "# {mark} ANSIBLE MANAGED BLOCK {{item.name}}"
|
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ item.name }}"
|
||||||
with_items:
|
with_items:
|
||||||
- { name: host1, ip: 10.10.1.10 }
|
- { name: host1, ip: 10.10.1.10 }
|
||||||
- { name: host2, ip: 10.10.1.11 }
|
- { name: host2, ip: 10.10.1.11 }
|
||||||
|
|||||||
Reference in New Issue
Block a user