diff --git a/lib/ansible/plugins/lookup/consul_kv.py b/lib/ansible/plugins/lookup/consul_kv.py index 47eaa71bc8a..27cf3dbef38 100755 --- a/lib/ansible/plugins/lookup/consul_kv.py +++ b/lib/ansible/plugins/lookup/consul_kv.py @@ -75,7 +75,7 @@ class LookupModule(LookupBase): def __init__(self, loader=None, templar=None, **kwargs): - super(LookupBase, self).__init__(loader, templar, **kwargs) + super(LookupModule, self).__init__(loader, templar, **kwargs) self.agent_url = 'http://localhost:8500' if os.getenv('ANSIBLE_CONSUL_URL') is not None: