Added a delimiter example and a version_added string for assemble
This commit is contained in:
parent
8c8c0d4ec4
commit
b37f65f9eb
1 changed files with 4 additions and 0 deletions
|
@ -59,6 +59,7 @@ options:
|
||||||
delimiter:
|
delimiter:
|
||||||
description:
|
description:
|
||||||
- A delimiter to seperate the file contents.
|
- A delimiter to seperate the file contents.
|
||||||
|
version_added: "1.4"
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: null
|
||||||
others:
|
others:
|
||||||
|
@ -71,6 +72,9 @@ author: Stephen Fromm
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# Example from Ansible Playbooks
|
# Example from Ansible Playbooks
|
||||||
- assemble: src=/etc/someapp/fragments dest=/etc/someapp/someapp.conf
|
- assemble: src=/etc/someapp/fragments dest=/etc/someapp/someapp.conf
|
||||||
|
|
||||||
|
# When a delimiter is specified, it will be inserted in between each fragment
|
||||||
|
- assemble: src=/etc/someapp/fragments dest=/etc/someapp/someapp.conf delimiter='### START FRAGMENT ###'
|
||||||
'''
|
'''
|
||||||
|
|
||||||
# ===========================================
|
# ===========================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue