From 222927256d14b8e530853f0a2c7cb878a3e991fd Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Wed, 22 Jul 2015 07:08:37 -0700 Subject: [PATCH] Remove validate_certs as the url is not user settable so we always want to validate the certificate --- cloud/amazon/_ec2_ami_search.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/cloud/amazon/_ec2_ami_search.py b/cloud/amazon/_ec2_ami_search.py index 4fac97e9471..ec9da6d4988 100644 --- a/cloud/amazon/_ec2_ami_search.py +++ b/cloud/amazon/_ec2_ami_search.py @@ -65,15 +65,6 @@ options: required: false default: paravirtual choices: ["paravirtual", "hvm"] - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only - be set to C(no) used on personally controlled sites using self-signed - certificates. Prior to 1.9.3 the code defaulted to C(no). - required: false - default: 'yes' - choices: ['yes', 'no'] - version_added: '1.9.3' author: Lorin Hochstein ''' @@ -193,7 +184,6 @@ def main(): region=dict(required=False, default='us-east-1', choices=AWS_REGIONS), virt=dict(required=False, default='paravirtual', choices=['paravirtual', 'hvm']), - validate_certs = dict(required=False, default=True, type='bool'), ) module = AnsibleModule(argument_spec=arg_spec) distro = module.params['distro']