Fix empty requirements specifications in modules documentation
And also be liberal in what ansible-doc accepts as an empty requirements specification. While here fix a typo in template module documentation wrt jinja2 overrides example.
This commit is contained in:
parent
117f50dcde
commit
e320616974
2 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ examples:
|
||||||
notes:
|
notes:
|
||||||
- Since Ansible version 0.9, templates are loaded with C(trim_blocks=True).
|
- Since Ansible version 0.9, templates are loaded with C(trim_blocks=True).
|
||||||
- 'You can override jinja2 settings by adding a special header to template file.
|
- 'You can override jinja2 settings by adding a special header to template file.
|
||||||
i.e. c(#jinja2: trim_blocks: False)'
|
i.e. C(#jinja2: trim_blocks: False)'
|
||||||
requirements: null
|
requirements: []
|
||||||
author: Michael DeHaan
|
author: Michael DeHaan
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -64,7 +64,7 @@ examples:
|
||||||
- code: "wait_for: port=8000 delay=10"
|
- code: "wait_for: port=8000 delay=10"
|
||||||
description: "Example from Ansible Playbooks"
|
description: "Example from Ansible Playbooks"
|
||||||
notes: []
|
notes: []
|
||||||
requirements: null
|
requirements: []
|
||||||
author: Jeroen Hoekx
|
author: Jeroen Hoekx
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue