assemble
Collection: builtin
Full Name: parallax.builtin.assemble
Aliases: ansible.builtin.assemble, assemble
Synopsis
Manage assemble
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| src | string | yes | An already existing directory full of source files | |
| dest | string | yes | A file to create using the concatenation of all of the source files | |
| backup | bool | false | Create a backup file | |
| delimiter | string | A delimiter to separate the file contents | ||
| remote_src | bool | true | If false, it will search for src at originating/master machine | |
| regexp | string | Assemble files only if regex matches the filename | ||
| ignore_hidden | bool | false | A boolean that controls if files that start with a ‘.’ are ignored or not | |
| validate | string | The validation command to run before copying into place | ||
| decrypt | bool | true | This option controls the autodecryption of source files using vault | |
| owner | string | Name of the user that should own the file | ||
| group | string | Name of the group that should own the file | ||
| mode | string | The permissions the resulting file should have | ||
| attributes | string | The attributes the resulting file should have | ||
| seuser | string | The user part of the SELinux file context | ||
| serole | string | The role part of the SELinux file context | ||
| setype | string | The type part of the SELinux file context | ||
| selevel | string | The level part of the SELinux file context | ||
| unsafe_writes | bool | false | Allow unsafe file operations |
Example
- name: Example assemble task
assemble:
src: <your_src>
dest: <your_dest>