--- - name: Combine spec_overrides with spec set_fact: spec: "{{ spec | default({}) | combine(spec_overrides) }}" no_log: "{{ no_log }}" - name: Deploy AWX k8s: state: "{{ state | default('present') }}" namespace: "{{ ansible_operator_meta.namespace }}" apply: yes definition: "{{ lookup('template', 'awx_object.yml.j2') }}" wait: true wait_condition: type: "Running" status: "True" - name: Remove ownerReferences to prevent garbage collection of new AWX CRO k8s: definition: apiVersion: '{{ api_version }}' kind: AWX metadata: name: '{{ deployment_name }}' namespace: '{{ ansible_operator_meta.namespace }}' ownerReferences: null