Repository hosts the Labs Enablement material. It is a working skeleton that learners will use in conjunction with the enablement-docs.
- Clone this repository.
- Log on to an OpenShift server
oc login -u <user> https://<server>:<port>/
- Install the required openshift-applier dependency:
ansible-galaxy install -r requirements.yml --roles-path=roles
- Run the play book using this to create projects and roles
ansible-playbook apply.yml -i inventory/ -e target=bootstrap
- Run the play book using this to create projects and roles
ansible-playbook apply.yml -i inventory/ -e target=tools
- See the docs in casl-ansible
- The only required tag to deploy objects within the inventory is projects, all other tags are optional
- Here is an example that runs the tags that provision projects, ci, and jenkins objects:
ansible-playbook apply.yml -e target=tools \
-i inventory/ \
-e "filter_tags=jenkins,ci,projects"