diff --git a/lib/ansible/module_utils/ironware.py b/lib/ansible/module_utils/ironware.py index 0d80da23028..3d8794b917d 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