Added a delimiter example and a version_added string for assemble

pull/4050/merge
James Cammarata 12 years ago
parent a97872906f
commit d647c5dc00

@ -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…
Cancel
Save