1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-18 23:44:08 +00:00
community.general/lib/ansible/module_utils
James Cassell bc4ef99533 standardize TLS connection properties (#54315)
* openstack: standardize tls params

* tower: tower_verify_ssl->validate_certs

* docker: use standard tls config params

- cacert_path -> ca_cert
- cert_path -> client_cert
- key_path -> client_key
- tls_verify -> validate_certs

* k8s: standardize tls connection params

- verify_ssl -> validate_certs
- ssl_ca_cert -> ca_cert
- cert_file -> client_cert
- key_file -> client_key

* ingate: verify_ssl -> validate_certs

* manageiq: standardize tls params

- verify_ssl -> validate_certs
- ca_bundle_path -> ca_cert

* mysql: standardize tls params

- ssl_ca -> ca_cert
- ssl_cert -> client_cert
- ssl_key -> client_key

* nios: ssl_verify -> validate_certs

* postgresql: ssl_rootcert -> ca_cert

* rabbitmq: standardize tls params

- cacert -> ca_cert
- cert -> client_cert
- key -> client_key

* rackspace: verify_ssl -> validate_certs

* vca: verify_certs -> validate_certs

* kubevirt_cdi_upload: upload_host_verify_ssl -> upload_host_validate_certs

* lxd: standardize tls params

- key_file -> client_key
- cert_file -> client_cert

* get_certificate: ca_certs -> ca_cert

* get_certificate.py: clarify one or more certs in a file

Co-Authored-By: jamescassell <code@james.cassell.me>

* zabbix: tls_issuer -> ca_cert

* bigip_device_auth_ldap: standardize tls params

- ssl_check_peer -> validate_certs
- ssl_client_cert -> client_cert
- ssl_client_key -> client_key
- ssl_ca_cert -> ca_cert

* vdirect: vdirect_validate_certs -> validate_certs

* mqtt: standardize tls params

- ca_certs -> ca_cert
- certfile -> client_cert
- keyfile -> client_key

* pulp_repo: standardize tls params

remove `importer_ssl` prefix

* rhn_register: sslcacert -> ca_cert

* yum_repository: standardize tls params

The fix for yum_repository is not straightforward since this module is
only a thin wrapper for the underlying commands and config.  In this
case, we add the new values as aliases, keeping the old as primary,
only due to the internal structure of the module.

Aliases added:
- sslcacert -> ca_cert
- sslclientcert -> client_cert
- sslclientkey -> client_key
- sslverify -> validate_certs

* gitlab_hook: enable_ssl_verification -> hook_validate_certs

* Adjust arguments for docker_swarm inventory plugin.

* foreman callback: standardize tls params

- ssl_cert -> client_cert
- ssl_key -> client_key

* grafana_annotations: validate_grafana_certs -> validate_certs

* nrdp callback: validate_nrdp_certs -> validate_certs

* kubectl connection: standardize tls params

- kubectl_cert_file -> client_cert
- kubectl_key_file -> client_key
- kubectl_ssl_ca_cert -> ca_cert
- kubectl_verify_ssl -> validate_certs

* oc connection: standardize tls params

- oc_cert_file -> client_cert
- oc_key_file -> client_key
- oc_ssl_ca_cert -> ca_cert
- oc_verify_ssl -> validate_certs

* psrp connection: cert_trust_path -> ca_cert

TODO: cert_validation -> validate_certs (multi-valued vs bool)

* k8s inventory: standardize tls params

- cert_file -> client_cert
- key_file -> client_key
- ca_cert -> ca_cert
- verify_ssl -> validate_certs

* openshift inventory: standardize tls params

- cert_file -> client_cert
- key_file -> client_key
- ca_cert -> ca_cert
- verify_ssl -> validate_certs

* tower inventory: verify_ssl -> validate_certs

* hashi_vault lookup: cacert -> ca_cert

* k8s lookup: standardize tls params

- cert_file -> client_cert
- key_file -> client_key
- ca_cert -> ca_cert
- verify_ssl -> validate_certs

* laps_passord lookup: cacert_file -> ca_cert

* changelog for TLS parameter standardization
2019-03-28 00:19:28 -05:00
..
aws parse botocore.endpoint logs into a list of AWS actions (#49312) 2019-03-18 08:29:03 -05:00
common Use locking for concurrent file access (#52567) 2019-03-27 20:20:18 -04:00
compat Have update-bundled check for updates to all bundled code 2019-02-06 13:59:55 -08:00
csharp win basic - do not warn on case insensitive matches (#54371) 2019-03-26 10:54:33 +10:00
distro Changes to bundled distro to be Python-2.6 compatible 2018-12-17 11:01:01 -08:00
docker standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
facts Move type checking methods out of basic.py and add unit tests (#53687) 2019-03-21 09:40:19 -04:00
k8s standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
net_tools standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
network standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
parsing
powershell windows - Fix module utils with glob paths (#53835) 2019-03-15 19:44:53 +10:00
remote_management Check for existence of object attr login_handle (#53821) 2019-03-27 08:22:02 +00:00
six Have update-bundled check for updates to all bundled code 2019-02-06 13:59:55 -08:00
source_control Add Bitbucket Pipelines variable module (#54049) 2019-03-22 13:17:08 +01:00
storage Ansible module to enable the user to provision CPGs on HPE StoreServ 3PAR device (#39656) 2019-02-26 14:09:03 +00:00
__init__.py
_text.py
acme.py Reference RFC 8555 instead of latest draft. (#53674) 2019-03-14 19:19:36 -05:00
alicloud_ecs.py
ansible_release.py
ansible_tower.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
api.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
azure_rm_common.py Add workspace module for azure (#53731) 2019-03-27 17:04:40 -07:00
azure_rm_common_rest.py support lro in azure_rm_resource (#49919) 2018-12-17 13:21:25 +08:00
basic.py Move type checking methods out of basic.py and add unit tests (#53687) 2019-03-21 09:40:19 -04:00
cloud.py
cloudscale.py cloudscale_server: refactor to implement update (#52683) 2019-03-05 10:40:16 +01:00
cloudstack.py Add new CloudStack module cs_physical_network (#54098) 2019-03-27 10:48:44 +01:00
connection.py Allow AnsibleVaultEncryptedUnicode to pass through exec_jsonrpc (#48306) 2018-12-21 11:15:18 -05:00
crypto.py openssl_*: proper mode support (#54085) 2019-03-25 14:20:52 +01:00
database.py
digital_ocean.py
dimensiondata.py Final round of moving modules to new import error msg (#51852) 2019-02-08 10:07:01 +10:00
ec2.py Fix _hashable_policy for python3 (#53953) 2019-03-18 09:40:28 -05:00
exoscale.py
f5_utils.py
firewalld.py
gcdns.py
gce.py
gcp.py
gcp_utils.py Bug fixes for GCP modules (#54256) 2019-03-22 15:37:17 -04:00
gitlab.py copyright: edit deprecated email (#51912) 2019-02-08 01:48:25 +01:00
hcloud.py Add hcloud server module (#53062) 2019-03-05 07:30:24 +01:00
heroku.py Final round of moving modules to new import error msg (#51852) 2019-02-08 10:07:01 +10:00
ibm_sa_utils.py Final round of moving modules to new import error msg (#51852) 2019-02-08 10:07:01 +10:00
infinibox.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
influxdb.py Sanity fixes to parameter types (#52325) 2019-02-15 16:58:58 +01:00
ipa.py identity: Issue warning if GSSAPI parameters can't be used (#52721) 2019-02-22 08:39:42 +00:00
ismount.py
json_utils.py
keycloak.py
known_hosts.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
kubevirt.py kubevirt: cleanup module docs (#54119) 2019-03-26 22:22:50 +01:00
ldap.py
linode.py
lxd.py
manageiq.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
memset.py
mysql.py Fix for "AttributeError: 'module' object has no attribute 'cursors'" (#49191) (#53445) 2019-03-08 08:21:56 +00:00
netapp.py Added eseries base with tests (#49269) 2019-03-08 18:13:45 +00:00
netapp_elementsw_module.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
netapp_module.py New Options for Autosupport (#50773) 2019-01-23 18:18:07 +00:00
oneandone.py
oneview.py Use common functions for handling import errors (#51851) 2019-02-07 16:51:16 -05:00
online.py
opennebula.py
openstack.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
ovirt.py ovirt: Require SDK v4.3.0 (#54385) 2019-03-26 14:00:27 +00:00
postgres.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
pure.py
pycompat24.py
rabbitmq.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
rax.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
redfish_utils.py Expose timeout option to Redfish modules (#54130) 2019-03-26 17:19:24 +00:00
redhat.py
scaleway.py Add a Scaleway load-balancer module (#51741) 2019-02-11 15:28:55 +00:00
service.py
splitter.py
univention_umc.py
urls.py uri/win_uri: Make method a free text field (#49719) 2019-02-28 15:55:18 -05:00
utm_utils.py Add optional headers to utm modules (#49856) 2019-01-17 19:06:50 +05:30
vca.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
vmware.py VMware: add cluster name in facts (#53056) 2019-03-06 10:15:26 +05:30
vmware_rest_client.py VMware: Tag management to VMware object (#46945) 2019-02-12 16:53:33 +05:30
vultr.py
xenserver.py XenServer: Minor changes to error messages (#54434) 2019-03-27 09:57:08 +05:30
yumdnf.py yum/dnf: Add download_dir param (#53171) 2019-03-04 13:08:58 -05:00