mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Stop using ca_certs alias. (#54507)
This commit is contained in:
@@ -43,11 +43,11 @@
|
||||
# We got the expected error message
|
||||
- "'Failed to get cert from port with error: timed out' == result.msg or 'Connection refused' in result.msg"
|
||||
|
||||
- name: Test failure if ca_certs is not a valid file
|
||||
- name: Test failure if ca_cert is not a valid file
|
||||
get_certificate:
|
||||
host: "{{ httpbin_host }}"
|
||||
port: 443
|
||||
ca_certs: dn.e
|
||||
ca_cert: dn.e
|
||||
register: result
|
||||
ignore_errors: true
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
|
||||
- name: Get servers certificate comparing it to its own ca_cert file
|
||||
get_certificate:
|
||||
ca_certs: '{{ output_dir }}/temp.pem'
|
||||
ca_cert: '{{ output_dir }}/temp.pem'
|
||||
host: "{{ httpbin_host }}"
|
||||
port: 443
|
||||
register: result
|
||||
@@ -87,7 +87,7 @@
|
||||
|
||||
- name: Get servers certificate comparing it to an invalid ca_cert file
|
||||
get_certificate:
|
||||
ca_certs: '{{ my_temp_dir.path }}/bogus_ca.pem'
|
||||
ca_cert: '{{ my_temp_dir.path }}/bogus_ca.pem'
|
||||
host: "{{ httpbin_host }}"
|
||||
port: 443
|
||||
register: result
|
||||
|
||||
Reference in New Issue
Block a user