From ce349b6c3d2a985e74afd9f727eb44ea9a53675f Mon Sep 17 00:00:00 2001 From: James Barwell Date: Thu, 5 Feb 2015 12:11:16 +0000 Subject: [PATCH] Fix argument parsing to module constructor - Change to remove kwargs in a97d1016dc77186de8ad05704b6b4c141c005409 did not remove arguments passed in to the constructor. --- lib/ansible/modules/extras/network/haproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/network/haproxy.py b/lib/ansible/modules/extras/network/haproxy.py index 51b28d623a0..38757599df5 100644 --- a/lib/ansible/modules/extras/network/haproxy.py +++ b/lib/ansible/modules/extras/network/haproxy.py @@ -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