mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
ac1895453f
* Add test case for non-cascading deletes Deleting a DaemonSet does not delete associated pods, even though it should * Add coverage module when using pip Otherwise tests seemingly fail
23 lines
584 B
YAML
23 lines
584 B
YAML
- python_requirements_facts:
|
|
dependencies:
|
|
- openshift
|
|
- kubernetes
|
|
- kubernetes-validate
|
|
|
|
- k8s:
|
|
definition:
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: hello
|
|
namespace: default
|
|
validate:
|
|
fail_on_error: yes
|
|
ignore_errors: yes
|
|
register: k8s_no_validate
|
|
|
|
- name: assert that k8s_no_validate fails gracefully
|
|
assert:
|
|
that:
|
|
- k8s_no_validate is failed
|
|
- "k8s_no_validate.msg == 'kubernetes-validate python library is required to validate resources'"
|