Jooho.openshift-custom-webconsole-logo
Ansible Role: Custom Logo for OpenShift Web Console
This role helps you change the logo in the OpenShift web console.
Requirements
None
Role Variables
Name | Default Value | Required | Description |
---|---|---|---|
openshift_master_conf_dir | /etc/origin/master | No | Location of the OpenShift configuration directory |
stylesheet_base_dir | /etc/origin/master/stylesheet | No | Where the CSS and image files will be placed |
logo_img | ' ' | Yes | Path to the logo image |
temp_dir | /tmp | No | Temporary directory |
overwrite_force | false | No | Whether to overwrite all static files |
Dependencies
None
Example Playbook
- name: Example Playbook
hosts: masters
gather_facts: false
roles:
- { role: ansible-role-openshift-custom-webconsole-logo, logo_img: "/tmp/logo.png", stylesheet_base_dir: "/etc/origin/master/stylesheet" }
Restart OpenShift Masters
# Restart OpenShift Master Server
# Single Master
ansible masters -m shell -a "systemctl restart atomic-openshift-master"
# Multiple Masters
ansible masters -m shell -a "systemctl restart atomic-openshift-master-api"
License
BSD/MIT
Author Information
This role was created in 2017 by Jooho Lee.