|
|
|
@ -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 ###'
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================
|
|
|
|
# ===========================================
|
|
|
|
|