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

made continue into a pass (there was no loop)

This commit is contained in:
Brian Coca 2015-08-13 10:05:30 -04:00 committed by Matt Clay
parent 686026919e
commit 34f8eb0f4c

View file

@ -21,7 +21,7 @@
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: service module: service
author: author:
- "Ansible Core Team" - "Ansible Core Team"
- "Michael DeHaan" - "Michael DeHaan"
version_added: "0.1" version_added: "0.1"
@ -984,7 +984,7 @@ class FreeBsdService(Service):
rcvars = shlex.split(stdout, comments=True) rcvars = shlex.split(stdout, comments=True)
except: except:
#TODO: add a warning to the output with the failure #TODO: add a warning to the output with the failure
continue pass
if not rcvars: if not rcvars:
self.module.fail_json(msg="unable to determine rcvar", stdout=stdout, stderr=stderr) self.module.fail_json(msg="unable to determine rcvar", stdout=stdout, stderr=stderr)