--- - environment: KUBECONFIG: "{{ tmp_kubeconfig }}" block: - name: post_workload Tasks Complete debug: msg: "Pre-Software checks completed successfully - Removed" - name: Set user project command: "oc project {{ project_name }}" - name: Git clone the repo if it doesn't exist git: repo: "{{ lab_repo }}" version: "{{ lab_branch }}" dest: "{{ tmp_git_location }}" track_submodules: yes - name: Delete spawner command: "{{ tmp_git_location }}/.workshop/scripts/delete-spawner.sh" args: chdir: "{{ tmp_git_location }}" - name: Delete workshop command: "{{ tmp_git_location }}/.workshop/scripts/delete-workshop.sh" args: chdir: "{{ tmp_git_location }}" - k8s: name: "{{ project_name }}" api_version: project.openshift.io/v1 kind: Project state: absent - name: post_workload Tasks Complete debug: msg: "Post-Software checks completed successfully - Removed"