Files
awx-operator/roles/backup/tasks/error_handling.yml
2021-04-30 13:51:48 -04:00

12 lines
222 B
YAML

---
- name: Determine the timestamp
set_fact:
now: '{{ lookup("pipe", "date +%FT%TZ") }}'
- name: Emit ocp event with error
k8s:
kind: Event
namespace: "{{ meta.namespace }}"
template: "event.yml.j2"