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
cbae9c91
Commit
cbae9c91
authored
Oct 19, 2013
by
Timothy Appnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
synchronize module src and dest handles template markers.
parent
99f616ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lib/ansible/runner/action_plugins/synchronize.py
+4
-0
No files found.
lib/ansible/runner/action_plugins/synchronize.py
View file @
cbae9c91
...
...
@@ -20,6 +20,7 @@ import os.path
from
ansible
import
utils
from
ansible.runner.return_data
import
ReturnData
import
ansible.utils.template
as
template
class
ActionModule
(
object
):
...
...
@@ -57,6 +58,9 @@ class ActionModule(object):
src
=
options
.
get
(
'src'
,
None
)
dest
=
options
.
get
(
'dest'
,
None
)
src
=
template
.
template
(
self
.
runner
.
basedir
,
src
,
inject
)
dest
=
template
.
template
(
self
.
runner
.
basedir
,
dest
,
inject
)
try
:
options
[
'local_rsync_path'
]
=
inject
[
'ansible_rsync_path'
]
except
KeyError
:
...
...
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