summaryrefslogtreecommitdiffstats
path: root/roles/openshift_resource/tasks/lookup.yml
blob: 07beb8172bf1849a643714f4346973ea5a876cc7 (plain)
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)