Last active
February 21, 2019 15:19
-
-
Save rafabene/b080bfecc8fbb204c0c659d01e4ba530 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create an OSEv3 group that contains the masters and nodes groups | |
[OSEv3:children] | |
masters | |
nodes | |
etcd | |
# Set variables common for all OSEv3 hosts | |
[OSEv3:vars] | |
# SSH user, this user should allow ssh based auth without requiring a password | |
ansible_ssh_user=root | |
openshift_master_default_subdomain=app.rafabene.com | |
openshift_examples_modify_imagestreams=false | |
oreg_auth_user=${user_name} | |
oreg_auth_password=${password} | |
openshift_metrics_install_metrics=true | |
#openshift_hosted_logging_deploy=true | |
# enable ntp on masters to ensure proper failover | |
openshift_clock_enabled=true | |
#openshift_use_dnsmasq=false | |
#openshift_dns_ip=8.8.8.8 | |
os_firewall_use_firewalld=true | |
# If ansible_ssh_user is not root, ansible_sudo must be set to true | |
#ansible_sudo=true | |
deployment_type=openshift-enterprise | |
# uncomment the following to enable htpasswd authentication; defaults to DenyAllPasswordIdentityProvider | |
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider'}] | |
# host group for masters | |
[masters] | |
localhost openshift_ip=10.0.0.16 openshift_public_hostname=openshift.rafabene.com openshift_public_ip=52.207.61.190 | |
# host group for etcd | |
[etcd] | |
localhost | |
# host group for nodes, includes region info | |
[nodes] | |
localhost openshift_node_group_name='node-config-all-in-one' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment