mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-14 05:22:08 +00:00
@@ -10,19 +10,19 @@
|
|||||||
debug:
|
debug:
|
||||||
var: output
|
var: output
|
||||||
|
|
||||||
# TODO: See https://github.com/ansible-collections/community.kubernetes/issues/24
|
- name: Setting validate_certs to true causes a failure
|
||||||
# - name: Setting validate_certs to true causes a failure
|
k8s:
|
||||||
# k8s:
|
name: testing
|
||||||
# name: testing
|
kind: Namespace
|
||||||
# kind: Namespace
|
validate_certs: yes
|
||||||
# validate_certs: yes
|
ca_cert: /dev/null # invalid CA certificate
|
||||||
# ignore_errors: yes
|
ignore_errors: yes
|
||||||
# register: output
|
register: output
|
||||||
#
|
|
||||||
# - name: assert that validate_certs caused a failure (and therefore was correctly translated to verify_ssl)
|
- name: assert that validate_certs caused a failure (and therefore was correctly translated to verify_ssl)
|
||||||
# assert:
|
assert:
|
||||||
# that:
|
that:
|
||||||
# - output is failed
|
- output is failed
|
||||||
|
|
||||||
- name: Ensure k8s_info works with empty resources
|
- name: Ensure k8s_info works with empty resources
|
||||||
k8s_info:
|
k8s_info:
|
||||||
|
|||||||
Reference in New Issue
Block a user