Jooho.openshift-custom-login-page
Ansible Role: Openshift Custom Login Page
This role helps create a custom login page for Openshift. Specifically, it allows you to change the logo on the default login page.
Requirements
None
Role Variables
| Name | Default Value | Required | Description |
|---|---|---|---|
| openshift_master_conf_dir | /etc/origin/master | Yes | Directory for Openshift configuration files |
| master_url | master1.example.com:8443 | Yes | URL for the API Server |
| login_html_dir | /etc/origin/master | Yes | Directory where the new login HTML page will be stored |
| logo_image | /tmp/sample-openshift-ori.png | Yes | Path to the logo image |
| temp_dir | /tmp | No | Temporary directory |
Dependencies
None
Example Playbook
- name: Example Playbook
hosts: masters
gather_facts: false
roles:
- { role: Jooho.openshift-custom-login-page, logo_img: "logo.png", master_url: "master1.example.com:8443", login_html_dir: "/etc/origin/master" }
License
BSD/MIT
Author Information
This role was created in 2017 by Jooho Lee.
