Modify consul certificate validation bypass keyword from 'verify' to 'validate_certs'

pull/18777/head
Chris Tooley 9 years ago committed by Matt Clay
parent ca1efafc50
commit b2c7d28f41

@ -77,7 +77,7 @@ options:
required: false
default: http
version_added: "2.1"
verify:
validate_certs:
description:
- whether to verify the tls certificate of the consul agent
required: false
@ -321,7 +321,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'),
verify=module.params.get('verify'),
validate_certs=module.params.get('validate_certs'),
token=module.params.get('token'))
@ -518,7 +518,7 @@ def main():
host=dict(default='localhost'),
port=dict(default=8500, type='int'),
scheme=dict(required=False, default='http'),
verify=dict(required=False, default=True, type='bool'),
validate_certs=dict(required=False, default=True, type='bool'),
check_id=dict(required=False),
check_name=dict(required=False),
check_node=dict(required=False),

@ -75,7 +75,7 @@ options:
required: false
default: http
version_added: "2.1"
verify:
validate_certs:
description:
- whether to verify the tls certificate of the consul agent
required: false
@ -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'),
verify=module.params.get('verify'),
validate_certs=module.params.get('validate_certs'),
token=token)
def test_dependencies(module):
@ -330,7 +330,7 @@ def main():
mgmt_token=dict(required=True, no_log=True),
host=dict(default='localhost'),
scheme=dict(required=False, default='http'),
verify=dict(required=False, default=True),
validate_certs=dict(required=False, default=True),
name=dict(required=False),
port=dict(default=8500, type='int'),
rules=dict(default=None, required=False, type='list'),

@ -105,7 +105,7 @@ options:
required: false
default: http
version_added: "2.1"
verify:
validate_certs:
description:
- whether to verify the tls certificate of the consul agent
required: false
@ -231,7 +231,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'),
verify=module.params.get('verify'),
validate_certs=module.params.get('validate_certs'),
token=module.params.get('token'))
def test_dependencies(module):
@ -247,7 +247,7 @@ def main():
key=dict(required=True),
host=dict(default='localhost'),
scheme=dict(required=False, default='http'),
verify=dict(required=False, default=True),
validate_certs=dict(required=False, default=True),
port=dict(default=8500, type='int'),
recurse=dict(required=False, type='bool'),
retrieve=dict(required=False, default=True),

@ -94,7 +94,7 @@ options:
required: false
default: http
version_added: "2.1"
verify:
validate_certs:
description:
- whether to verify the tls certificate of the consul agent
required: false
@ -252,7 +252,7 @@ def main():
host=dict(default='localhost'),
port=dict(default=8500, type='int'),
scheme=dict(required=False, default='http'),
verify=dict(required=False, default=True),
validate_certs=dict(required=False, default=True),
id=dict(required=False),
name=dict(required=False),
node=dict(required=False),

Loading…
Cancel
Save