openshift_workshopper
Ansible Role: Workshopper on OpenShift =========
Ansible Role for deploying Workshopper on OpenShift as the instruction guidebook for demos and workshops.
Role Variables
Variable | Default Value | Description |
---|---|---|
workshopper_name |
guides |
Workshopper service name on OpenShift |
workshopper_image_version |
latest |
Workshopper container image version on Docker Hub |
workshopper_content_url_prefix |
https://raw.githubusercontent.com/osevg/workshopper-content/master |
Workshop content prefix url |
workshopper_workshop_urls |
{{ workshopper_content_url_prefix }}/_workshops/training.yml |
Comma-separated workshop urls |
workshopper_env_vars |
{} |
Environment variables set on the workshopper container as configuration |
min_memory |
128Mi |
Memory request |
max_memory |
512Mi |
Memory limit |
min_cpu |
0 |
CPU request |
max_cpu |
0 |
CPU limit |
project_name |
workshopper |
OpenShift project name for the workshopper container |
project_display_name |
Workshopper |
OpenShift project display name for the workshopper container |
project_desc |
Workshopper Guides |
OpenShift project description for the workshopper container |
project_annotations |
- | OpenShift project annotations for the workshopper container |
openshift_cli |
oc |
OpenShift CLI command and arguments (e.g. auth) |
OpenShift Version Compatibility
When listing this role in requirements.yml
, make sure to pin the version of the role via one of the tags:
- src: siamaksade.openshift_workshopper
version: 1.2.0
The following tables shows the version combinations that are tested and verified:
Role Version | OpenShift Version |
---|---|
1.0.x | 3.7.x |
1.1.x | 3.9.x |
1.2.x | 3.10.x, 3.11.x |
Note that if a version combination is not listed above, it does NOT mean that it won't work on that version. The above table is merely the combinations that we have verified and tested.
Example Playbook
name: Example Playbook
hosts: localhost
tasks:
- import_role:
name: siamaksade.openshift_workshopper
vars:
project_name: "cicd-project"
workshopper_content_url_prefix: https://raw.githubusercontent.com/siamaksade/coolstore-demo-guides/openshift-3.7
workshopper_workshop_urls: {{ workshopper_content_url_prefix }}/demo-cicd-eap-full.yml
workshopper_env_vars:
PROJECT_SUFFIX: "-XX"
OPENSHIFT_MASTER: "http://myopenshift.com:8443"
GOGS_DEV_USER: "gogs"
GOGS_DEV_PASSWORD: "gogs"
GOGS_REVIEWER_USER: "developer"
GOGS_REVIEWER_PASSWORD: "developer"
openshift_cli: "oc --server http://master:8443"
Install
ansible-galaxy install siamaksade/ansible-openshift-workshopper
License
Unknown
Downloads
14499
Owner
Product Manager at Red Hat