mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
parent
a7639896a2
commit
16211e7dab
1 changed files with 4 additions and 0 deletions
|
@ -266,6 +266,10 @@ class ActionModule(ActionBase):
|
||||||
# MUNGE SRC AND DEST PER REMOTE_HOST INFO
|
# MUNGE SRC AND DEST PER REMOTE_HOST INFO
|
||||||
src = self._task.args.get('src', None)
|
src = self._task.args.get('src', None)
|
||||||
dest = self._task.args.get('dest', None)
|
dest = self._task.args.get('dest', None)
|
||||||
|
if src is None or dest is None:
|
||||||
|
return dict(failed=True,
|
||||||
|
msg="synchronize requires both src and dest parameters are set")
|
||||||
|
|
||||||
if not dest_is_local:
|
if not dest_is_local:
|
||||||
# Private key handling
|
# Private key handling
|
||||||
if use_delegate:
|
if use_delegate:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue