Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
b20dc4f5
Commit
b20dc4f5
authored
Jan 31, 2014
by
Richard C Isaacson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for issue 5739. The copy module does not delete directories it will only unlinks symlinks.
parent
460adb4d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
lib/ansible/runner/action_plugins/copy.py
+0
-2
No files found.
lib/ansible/runner/action_plugins/copy.py
View file @
b20dc4f5
...
...
@@ -124,8 +124,6 @@ class ActionModule(object):
diffs
=
[]
module_result
=
{
"changed"
:
False
}
for
source_full
,
source_rel
in
source_files
:
# We need to get a new tmp path for each file, otherwise the copy module deletes the folder.
tmp
=
self
.
runner
.
_make_tmp_path
(
conn
)
local_md5
=
utils
.
md5
(
source_full
)
if
local_md5
is
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment