- Deploy the "Openshift 4 Advanced Cluster Security 3" catalog offering in RHPDS (under Multi-Product Demo)
- Deploy an "AWS Blank Open Environment" in RHPDS (under Red Hat Open Environments)
- Log in to your cluster (as an admin user) with
oc login
- Export the following environment variables (add your credentials and update region if desired)
export AWS_ACCESS_KEY_ID=myaccesskeyid export AWS_SECRET_ACCESS_KEY=mysecretaccesskey export AWS_REGION=ap-southeast-2
- Install Ansible dependencies on control node
- Ansible Core 2.14
- python3-boto
- python3-boto3
- python3-kubernetes
- Install Ansible collections
ansible-galaxy install -r requirements.yml
- Ensure you have a public ssh key located at
~/.ssh/id_rsa.pub
- Execute
ansible-playbook site.yml
- Playbook will output required information
- Be sure to add
ROX_API_TOKEN
to your environment variables (or store it for later)
- If you need to re-run this playbook multiple times, you can skip downloading the exploit server archive with
ansible-playbook site.yml --skip-tags="download_jndi"