1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #8143 from PinGwynn/feature

portage: default exit (not fail) if sync=yes in check mode
This commit is contained in:
Michael DeHaan 2014-07-16 15:51:56 -04:00
commit ec874193fe

View file

@ -194,7 +194,7 @@ def query_set(module, set, action):
def sync_repositories(module, webrsync=False):
if module.check_mode:
module.fail_json(msg='check mode not supported by sync')
module.exit_json(msg='check mode not supported by sync')
if webrsync:
webrsync_path = module.get_bin_path('emerge-webrsync', required=True)