summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clustering/consul.py2
-rw-r--r--clustering/consul_acl.py2
-rw-r--r--clustering/consul_kv.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/clustering/consul.py b/clustering/consul.py
index e96e7524..27c3e842 100644
--- a/clustering/consul.py
+++ b/clustering/consul.py
@@ -332,7 +332,7 @@ def get_consul_api(module, token=None):
return consul.Consul(host=module.params.get('host'),
port=module.params.get('port'),
scheme=module.params.get('scheme'),
- validate_certs=module.params.get('validate_certs'),
+ verify=module.params.get('validate_certs'),
token=module.params.get('token'))
diff --git a/clustering/consul_acl.py b/clustering/consul_acl.py
index b1c7763a..34c569b2 100644
--- a/clustering/consul_acl.py
+++ b/clustering/consul_acl.py
@@ -313,7 +313,7 @@ def get_consul_api(module, token=None):
return consul.Consul(host=module.params.get('host'),
port=module.params.get('port'),
scheme=module.params.get('scheme'),
- validate_certs=module.params.get('validate_certs'),
+ verify=module.params.get('validate_certs'),
token=token)
def test_dependencies(module):
diff --git a/clustering/consul_kv.py b/clustering/consul_kv.py
index 4dbf6072..8163cbd9 100644
--- a/clustering/consul_kv.py
+++ b/clustering/consul_kv.py
@@ -244,7 +244,7 @@ def get_consul_api(module, token=None):
return consul.Consul(host=module.params.get('host'),
port=module.params.get('port'),
scheme=module.params.get('scheme'),
- validate_certs=module.params.get('validate_certs'),
+ verify=module.params.get('validate_certs'),
token=module.params.get('token'))
def test_dependencies(module):