I'm having a weird problem with Ansible and OpenShift,
on my Fedora node the playbook succeed, but on my RHEL node, the operation
fails with the message:
fatal: [localhost]: FAILED! => changed=false
msg: Failed to find exact match for v1.Namespace by [kind, name,
singularName, shortNames]
Both run Ansible installed using `pip install --user`
and have the same collection versions.
Any idea ?
# playbook
---
- hosts: localhost
gather_facts: false
tasks:
- name: Create Namespace for OLM operator
kubernetes.core.k8s:
resource_definition:
apiVersion: v1
kind: Namespace
metadata:
name: local-storage-operator
labels: "{{ ns_labels | default(omit) }}"
annotations: "{{ ns_annotations | default(omit) }}"
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/db2f766b-765d-4961-83c6-b19ea2effa8dn%40googlegroups.com.