1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

copy: document behavior related to dest creation

This commit is contained in:
Pierre-Louis Bonicoli 2017-06-14 16:26:02 +02:00 committed by Toshio Kuratomi
parent 21bd7bcbb0
commit 28eb9466c7

View file

@ -37,8 +37,9 @@ options:
version_added: "1.1"
dest:
description:
- Remote absolute path where the file should be copied to. If C(src) is a directory,
this must be a directory too.
- Remote absolute path where the file should be copied to. If C(src) is a directory, this must be a directory too and
dest directory is created when it doesn't exist.
If src and dest are files, then parent directory of dest isn't created: the task fails if it doesn't already exist.
required: yes
backup:
description: