blockinfile: don't use aliases in documentation exemples (#52220)
This commit is contained in:
parent
3b29b502e7
commit
0e9ff44df1
1 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ EXAMPLES = r'''
|
||||||
path: /var/www/html/index.html
|
path: /var/www/html/index.html
|
||||||
marker: "<!-- {mark} ANSIBLE MANAGED BLOCK -->"
|
marker: "<!-- {mark} ANSIBLE MANAGED BLOCK -->"
|
||||||
insertafter: "<body>"
|
insertafter: "<body>"
|
||||||
content: |
|
block: |
|
||||||
<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>
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ EXAMPLES = r'''
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /var/www/html/index.html
|
path: /var/www/html/index.html
|
||||||
marker: "<!-- {mark} ANSIBLE MANAGED BLOCK -->"
|
marker: "<!-- {mark} ANSIBLE MANAGED BLOCK -->"
|
||||||
content: ""
|
block: ""
|
||||||
|
|
||||||
- name: Add mappings to /etc/hosts
|
- name: Add mappings to /etc/hosts
|
||||||
blockinfile:
|
blockinfile:
|
||||||
|
|
Loading…
Reference in a new issue