This is a demo of common_criteria collection.
To use the devfile.yaml
and set up your development environment with OpenShift Dev Spaces or Visual Studio Code, follow these steps:
-
Clone the Repository
git clone https://github.com/ansible-middleware/common_criteria_demo.git cd common_criteria_demo
-
Install OpenShift Dev Spaces or Visual Studio Code
- Download and install OpenShift Dev Spaces, else you can directly use Dev Spaces from Red Hat Developer Snadbox as well.
- Download and install Visual Studio Code.
-
- Open the Red Hat Dev Spaces(If you Red Hat subscription use this)
- Select
Red Hat Dev Spaces
option from above provided Red hat Developer Sandbox link. - Put common_criteria_demo Git repo URL in the
Import from Git
option and click onCreate & Open
.
- Open the Project in Visual Studio Code
- Open Visual Studio Code.
- Open the project folder you cloned:
File > Open Folder...
and select the project directory. - Once the folder is open, click on the green button in the bottom-left corner (
><
) and selectNew Dev Container
.
Both options will use the devfile.yaml
to configure and start the development container. You can then start coding and run the playbook within this environment, without worrying about the prerequisite setup.
The following sections describe the steps necessary to prepare your machine for execution
First, you'll need to install the collection from middleware_automation and their dependencies:
Install via:
$ ansible-galaxy collection install -r requirements.yml
Apache License v2.0 or later
See LICENSE to view the full text.