blockinfile: don't use aliases in documentation exemples (#52220)

This commit is contained in:
Guillaume Martinez 2019-02-18 21:19:49 +01:00 committed by Sandra McCann
parent 3b29b502e7
commit 0e9ff44df1

View file

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