added state in results for backwards compat

This commit is contained in:
Brian Coca 2016-05-26 13:20:49 -04:00
parent 78c93d3ce5
commit d03914ed63

View file

@ -348,6 +348,8 @@ def main():
# this should not happen?
module.fail_json(msg="Service is in unknown state", status=result['status'])
result['state'] = f module.params['state']
module.exit_json(**result)
if __name__ == '__main__':