Fix argument parsing to module constructor

- Change to remove kwargs in a97d1016dc
  did not remove arguments passed in to the constructor.
pull/18777/head
James Barwell 10 years ago committed by Matt Clay
parent 11a68b4cad
commit ce349b6c3d

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

Loading…
Cancel
Save