Chapter 5. Ansible development workspaces management and teardown


You can delete Ansible development workspaces from OpenShift Dev Spaces. For more information on managing OpenShift Dev Spaces, see the Red Hat OpenShift Dev Spaces Authentication guide.

5.1. Deleting an Ansible development workspace

To delete the contents of an Ansible development workspace, you delete the workspace itself. This action removes all the pods, storage, and other resources associated with that specific workspace, effectively wiping its contents.

Prerequisites

  • You know the name of the workspace you want to delete.

Procedure

  1. Stop the Ansible development workspace that you want to delete.

    • To stop the workspace in the Dev Spaces dashboard, select the workspace that you want to delete and select actions Stop Workspace.
    • To stop the workspace using OpenShift oc commands, follow the steps in Stopping workspaces in the Red Hat OpenShift Dev Spaces User Guide.
  2. Delete the workspace:

    • To delete the workspace from the Dev Spaces dashboard, select the workspace that you want to delete and select actions Delete Workspace.
    • To delete a workspace using OpenShift oc commands, follow the steps in Removing workspaces in the Red Hat OpenShift Dev Spaces User Guide.

5.2. Uninstalling OpenShift Dev Spaces

  • To uninstall OpenShift Dev Spaces, follow the steps in the Uninstalling Dev Spaces chapter of the Red Hat OpenShift Dev Spaces Administration Guide.
Note

Uninstalling Ansible dev spaces removes all Ansible dev spaces-related user data.

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat