mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
f1db594e9f
commit
77f5472a53
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ def main():
|
|||
|
||||
params = module.params
|
||||
dest = os.path.expanduser(params['dest'])
|
||||
diff = dict()
|
||||
|
||||
if os.path.isdir(dest):
|
||||
module.fail_json(rc=256, msg='Destination %s is a directory !' % dest)
|
||||
|
|
Loading…
Reference in a new issue