Fix argument parsing to module constructor
- Change to remove kwargs in a97d1016dc
did not remove arguments passed in to the constructor.
This commit is contained in:
parent
11a68b4cad
commit
ce349b6c3d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue