2.10 -> 2.9.2 (#65517)

pull/65637/head
Felix Fontein 5 years ago committed by GitHub
parent 965474841f
commit 717c0da32b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -56,7 +56,7 @@ options:
type: str
aliases: [ importer_ssl_ca_cert, ca_cert ]
feed_client_cert:
version_added: "2.10"
version_added: "2.9.2"
description:
- Certificate used as the client certificate when synchronizing the
repository. This is used to communicate authentication information to
@ -69,7 +69,7 @@ options:
type: str
aliases: [ importer_ssl_client_cert ]
feed_client_key:
version_added: "2.10"
version_added: "2.9.2"
description:
- Private key to the certificate specified in I(importer_ssl_client_cert),
assuming it is not included in the certificate file itself. This can be
@ -574,12 +574,12 @@ def main():
importer_ssl_client_cert = module.params['client_cert']
module.deprecate("To specify client certificates to be used with the repo to sync, and not for communication with the "
"Pulp instance, use the new options `feed_client_cert` and `feed_client_key` (available since "
"Ansible 2.10). Until Ansible 2.14, the default value for `feed_client_cert` will be taken from "
"Ansible 2.9.2). Until Ansible 2.14, the default value for `feed_client_cert` will be taken from "
"`client_cert` if only the latter is specified", version="2.14")
importer_ssl_client_key = module.params['feed_client_key']
if importer_ssl_client_key is None and module.params['client_key'] is not None:
importer_ssl_client_key = module.params['client_key']
module.deprecate("In Ansible 2.10 `feed_client_key` option was added. Until 2.14 the default value will come from client_key option", version="2.14")
module.deprecate("In Ansible 2.9.2 `feed_client_key` option was added. Until 2.14 the default value will come from client_key option", version="2.14")
proxy_host = module.params['proxy_host']
proxy_port = module.params['proxy_port']
proxy_username = module.params['proxy_username']

Loading…
Cancel
Save