copy

Collection: builtin

Full Name: parallax.builtin.copy

Aliases: ansible.builtin.copy, copy

Synopsis

Manage copy

Parameters

NameTypeRequiredDefaultDescription
srcstringLocal path to a file to copy to the remote server (required if content is not provided)
deststringyesRemote absolute path where the file should be copied to
modestringThe permission mode of the destination file
ownerstringName of the user that should own the file
groupstringName of the group that should own the file
contentstringContent to copy to the destination instead of a file (mutually exclusive with src)

Example

- name: Example copy task
  copy:
    dest: <your_dest>