summaryrefslogtreecommitdiff
path: root/clustering
diff options
context:
space:
mode:
authorRené Moser <mail@renemoser.net>2016-05-27 15:46:56 +0200
committerRené Moser <mail@renemoser.net>2016-05-27 15:46:56 +0200
commite388fb4006e1d8f7828527a02c445bc633b5b367 (patch)
tree6de07aa04d5a6c9cebf3ddf2150dbc78cde8e5a4 /clustering
parent3ca06bf1c809b3cf21e690e28252ceb8b778079d (diff)
downloadansible-modules-extras-e388fb4006e1d8f7828527a02c445bc633b5b367.tar.gz
consul: fix param name for verify SSL (#2194)
Introduced in #1793, fixes #2114, needs backport to 2.1
Diffstat (limited to 'clustering')
-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):