Fix argument parsing to module constructor

- Change to remove kwargs in a97d1016dc
  did not remove arguments passed in to the constructor.
reviewable/pr18780/r1
James Barwell 10 years ago
parent 85dab364c9
commit 2ec916ad38

@ -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