Access preconfigured development tools with Ansible development workspaces
Ansible development workspaces provide a fully supported browser-based development environment that includes Ansible development tools for creating and testing Ansible playbooks, roles, and collections. The workspaces run as containers within Red Hat OpenShift Dev Spaces.
Introduction to Ansible development workspaces Copy linkLink copied!
Ansible development workspaces offer centralized management and policy enforcement, giving administrators better control and governance over secure, consistent automation development environments. Developers benefit by avoiding local application installs, especially in locked-down settings.
Ansible development tools and runtimes are pre-configured in Ansible development workspaces. Developers can start creating projects for automation content quickly by logging in to Ansible development workspaces in a browser.
The development tools in Ansible development workspaces are based on Ansible recommended practices, which improves the quality and reliability of your automation content. As a component of your Red Hat Ansible Automation Platform subscription, Ansible development workspaces are fully supported.
To ensure that your automation content files persist when you quit Ansible development workspaces, you push your projects to a git repository in a source control manager (SCM) that is linked to your workspace.
Ansible development workspaces components Copy linkLink copied!
Each Ansible development workspace is a project-agnostic full development environment. Dependencies are satisfied for all the tools in the environment.
The following applications are pre-installed.
- Microsoft VS Code
- Python
-
ansible-core - Ansible development tools (ADT) package, which includes:
ansible-creatorfor scaffolding directory structure for your automation contentansible-lintfor identifying stylistic errors and anti-patternsmoleculefor running functional tests on your automation content
About the Ansible dev spaces image Copy linkLink copied!
Red Hat OpenShift Dev Spaces is a containerized cloud development environment (CDE) that provides pre-configured, consistent workspaces running on OpenShift Container Platform. It provisions ready-to-code workspaces on demand.
The Ansible dev spaces image is the container image for Ansible development workspaces. It replaces an existing Ansible demo within OpenShift Dev Spaces and is fully supported by Red Hat.
The following diagram illustrates the relationship between OpenShift Container Platform, OpenShift Dev Spaces, and Ansible development workspaces.
Set up and install Red Hat OpenShift dev spaces to run your Ansible container Copy linkLink copied!
An administrator must install Red Hat OpenShift Dev Spaces to create a OpenShift Dev Spaces dashboard from where developers can launch Ansible development workspaces.
Prerequisites Copy linkLink copied!
Review the prerequisites listed here before beginning the installation of Red Hat OpenShift Dev Spaces. Meeting these requirements helps ensure a successful setup.
- You have access to a web-browser and network connectivity.
- You have installed Red Hat OpenShift Container Platform.
- You have an active Red Hat OpenShift cluster.
- You have a valid subscription to Red Hat Ansible Automation Platform.
- You have set up a version control system such as Git.
Install Red Hat OpenShift dev spaces Copy linkLink copied!
An administrator must install Red Hat OpenShift Dev Spaces to generate an OpenShift Dev Spaces dashboard. The dashboard is the entry point for developers to launch Ansible development workspaces.