Commit d647c5dc by James Cammarata

Added a delimiter example and a version_added string for assemble

parent a9787290
...@@ -59,6 +59,7 @@ options: ...@@ -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 ...@@ -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 ###'
''' '''
# =========================================== # ===========================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment