copy
Collection: builtin
Full Name: parallax.builtin.copy
Aliases: ansible.builtin.copy, copy
Synopsis
Manage copy
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| src | string | Local path to a file to copy to the remote server (required if content is not provided) | ||
| dest | string | yes | Remote absolute path where the file should be copied to | |
| mode | string | The permission mode of the destination file | ||
| owner | string | Name of the user that should own the file | ||
| group | string | Name of the group that should own the file | ||
| content | string | Content to copy to the destination instead of a file (mutually exclusive with src) |
Example
- name: Example copy task
copy:
dest: <your_dest>