mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Merge pull request #13174 from sebi-hgdata/sebi/consul_kv_issue
Consul kv lookup super invocation fix
This commit is contained in:
@@ -75,7 +75,7 @@ class LookupModule(LookupBase):
|
|||||||
|
|
||||||
def __init__(self, loader=None, templar=None, **kwargs):
|
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'
|
self.agent_url = 'http://localhost:8500'
|
||||||
if os.getenv('ANSIBLE_CONSUL_URL') is not None:
|
if os.getenv('ANSIBLE_CONSUL_URL') is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user