mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-27 13:53:12 +00:00
12 lines
269 B
YAML
12 lines
269 B
YAML
---
|
|
|
|
- name: Determine the timestamp
|
|
set_fact:
|
|
now: '{{ lookup("pipe", "date +%FT%TZ") }}'
|
|
|
|
- name: Emit ocp event with error
|
|
k8s:
|
|
kind: Event
|
|
namespace: "{{ ansible_operator_meta.namespace }}"
|
|
definition: "{{ lookup('template', 'event.yml.j2') }}"
|