mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Successfull exit if sync=yes and no package provided
This commit is contained in:
parent
a58912773d
commit
82c026387f
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ def main():
|
||||||
if p['sync']:
|
if p['sync']:
|
||||||
sync_repositories(module, webrsync=(p['sync'] == 'web'))
|
sync_repositories(module, webrsync=(p['sync'] == 'web'))
|
||||||
if not p['package']:
|
if not p['package']:
|
||||||
module.exit_json(msg='Sync successfuly finished.')
|
module.exit_json(msg='Sync successfully finished.')
|
||||||
|
|
||||||
packages = p['package'].split(',') if p['package'] else []
|
packages = p['package'].split(',') if p['package'] else []
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue