made continue into a pass (there was no loop)

This commit is contained in:
Brian Coca 2015-08-13 10:05:30 -04:00
parent 6d7428527d
commit 5d7cb981d3

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)