summaryrefslogtreecommitdiffstats
path: root/roles/openshift_resource/tasks/lookup.yml
blob: c5eb2a33a117d202807dd5796e3cd30db6225a84 (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 is failed