From 7170c263990c2cf5698ce860f058663f7bd37ff2 Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Wed, 15 Nov 2017 11:49:43 +0530 Subject: [PATCH] Ironware module_utils cliconf plugin minor change (#32920) As per refactor in connection framework PR 32521 pass socket_path to Connection class while initiating cliconf connection --- lib/ansible/module_utils/ironware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/ironware.py b/lib/ansible/module_utils/ironware.py index 0d80da2302..3d8794b917 100644 --- a/lib/ansible/module_utils/ironware.py +++ b/lib/ansible/module_utils/ironware.py @@ -61,7 +61,7 @@ def get_connection(module): global _CONNECTION if _CONNECTION: return _CONNECTION - _CONNECTION = Connection(module) + _CONNECTION = Connection(module._socket_path) return _CONNECTION