Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update copy.py #56370

Open
wants to merge 1 commit into
base: devel
from

Conversation

Projects
None yet
3 participants
@AlexImray
Copy link

commented May 13, 2019

+label: docsite_pr

SUMMARY

Updated the description of the 'dest' parameter to specify that a file will be created if path is invalid but 'content' parameter is used instead of 'src' parameter

ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME

copy

ADDITIONAL INFORMATION

Update copy.py
<!--- Updated the description of the 'dest' parameter to specify that a file will be created if path is invalid if 'content' parameter is used instead of 'src' parameter -->

+label: docsite_pr
@ansibot

This comment has been minimized.

Copy link
Contributor

commented May 13, 2019

@@ -46,6 +46,7 @@
- If C(dest) is a non-existent path and if either C(dest) ends with "/" or C(src) is a directory, C(dest) is created.
- If I(dest) is a relative path, the starting directory is determined by the remote host.
- If C(src) and C(dest) are files, the parent directory of C(dest) is not created and the task fails if it does not already exist.
- If C(content) is used and C(dest) is a file, file is created if it does not already exist

This comment has been minimized.

Copy link
@ptux

ptux May 14, 2019

Contributor

Could you add . to the end of the sentence, please.

@ptux

This comment has been minimized.

Copy link
Contributor

commented May 14, 2019

@AlexImray

It will be appreciated if you show the evidence(playbook and output) for the change.

@ansibot ansibot removed the needs_triage label May 14, 2019

@ansibot ansibot added the stale_ci label May 22, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.