---
- set_fact:
    deployment: "{{ lookup('file', paas_ci_workdir + '/dep.json') }}"

- name:  Delete deployment
  command: orchent depdel "{{ deployment.uuid }}"
  register: depdel_output
  failed_when: "'error' in depdel_output.stdout"