minor doc fixes
This commit is contained in:
parent
c688408385
commit
9b8470ae95
3 changed files with 11 additions and 12 deletions
|
@ -30,8 +30,9 @@ module: lineinfile
|
||||||
author:
|
author:
|
||||||
- "Daniel Hokka Zakrissoni (@dhozac)"
|
- "Daniel Hokka Zakrissoni (@dhozac)"
|
||||||
- "Ahti Kitsik (@ahtik)"
|
- "Ahti Kitsik (@ahtik)"
|
||||||
extends_documentation_fragment: files
|
extends_documentation_fragment:
|
||||||
extends_documentation_fragment: validate
|
- files
|
||||||
|
- validate
|
||||||
short_description: Ensure a particular line is in a file, or replace an
|
short_description: Ensure a particular line is in a file, or replace an
|
||||||
existing line using a back-referenced regular expression.
|
existing line using a back-referenced regular expression.
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -26,8 +26,9 @@ DOCUMENTATION = """
|
||||||
---
|
---
|
||||||
module: replace
|
module: replace
|
||||||
author: "Evan Kaufman (@EvanK)"
|
author: "Evan Kaufman (@EvanK)"
|
||||||
extends_documentation_fragment: files
|
extends_documentation_fragment:
|
||||||
extends_documentation_fragment: validate
|
- files
|
||||||
|
- validate
|
||||||
short_description: Replace all instances of a particular string in a
|
short_description: Replace all instances of a particular string in a
|
||||||
file using a back-referenced regular expression.
|
file using a back-referenced regular expression.
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -24,13 +24,10 @@ options:
|
||||||
description:
|
description:
|
||||||
- Path of a Jinja2 formatted template on the local server. This can be a relative or absolute path.
|
- Path of a Jinja2 formatted template on the local server. This can be a relative or absolute path.
|
||||||
required: true
|
required: true
|
||||||
default: null
|
|
||||||
aliases: []
|
|
||||||
dest:
|
dest:
|
||||||
description:
|
description:
|
||||||
- Location to render the template to on the remote machine.
|
- Location to render the template to on the remote machine.
|
||||||
required: true
|
required: true
|
||||||
default: null
|
|
||||||
backup:
|
backup:
|
||||||
description:
|
description:
|
||||||
- Create a backup file including the timestamp information so you can get
|
- Create a backup file including the timestamp information so you can get
|
||||||
|
@ -48,12 +45,12 @@ options:
|
||||||
default: "yes"
|
default: "yes"
|
||||||
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)."
|
||||||
requirements: []
|
|
||||||
author:
|
author:
|
||||||
- Ansible Core Team
|
- Ansible Core Team
|
||||||
- Michael DeHaan
|
- Michael DeHaan
|
||||||
extends_documentation_fragment: files
|
extends_documentation_fragment:
|
||||||
extends_documentation_fragment: validate
|
- files
|
||||||
|
- validate
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
Loading…
Add table
Reference in a new issue