ansible/configs/ocp4-coreos-deployer/destroy_env.yml
@@ -156,6 +156,13 @@ path: /home/{{ ansible_user }}/cluster-{{ guid }}/metadata.json register: statclusterdir - name: Wait until the file /tmp/deployinprogress lockfile is absent wait_for: path: /tmp/deployinprogress state: absent timeout: 1800 sleep: 10 - when: statclusterdir.stat.exists block: - name: destroy terraform resources (openshift-install destroy cluster)