1 2 3 4 5 6
--- - name: Lookup the specified resource command: "oc get -n {{project}} {{rkind}}/{{rname}}" register: result failed_when: false changed_when: (result | failed)