Fix argument parsing to module constructor

- Change to remove kwargs in a97d1016dc77186de8ad05704b6b4c141c005409
  did not remove arguments passed in to the constructor.
This commit is contained in:
James Barwell 2015-02-05 12:11:16 +00:00 committed by Matt Clay
parent 11a68b4cad
commit ce349b6c3d

View file

@ -243,7 +243,7 @@ def main():
if not socket: if not socket:
module.fail_json(msg="unable to locate haproxy socket") module.fail_json(msg="unable to locate haproxy socket")
ansible_haproxy = HAProxy(module, **module.params) ansible_haproxy = HAProxy(module)
ansible_haproxy.act() ansible_haproxy.act()
# import module snippets # import module snippets