-
-
Save coolpalani/d3387b142ee38d067c2bc95670b40931 to your computer and use it in GitHub Desktop.
sample openshift-ansible inventory for ASB failure
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
openshift-master ansible_host=192.168.1.122 | |
openshift-minion-1 ansible_host=192.168.1.138 | |
openshift-minion-2 ansible_host=192.168.1.82 | |
[OSEv3:children] | |
masters | |
nodes | |
etcd | |
# lb | |
# nfs | |
[OSEv3:vars] | |
ansible_ssh_user=centos | |
ansible_become=yes | |
debug_level=2 | |
openshift_deployment_type=origin | |
openshift_release=v3.6 | |
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}] | |
ansible_ssh_private_key_file=/root/.ssh/id_vm_rsa | |
# -- service broker variables, per: https://goo.gl/RWwGpR | |
openshift_enable_service_catalog=true | |
openshift_service_catalog_image_prefix=openshift/origin- | |
openshift_service_catalog_image_version=latest | |
ansible_service_broker_image_prefix=openshift/ | |
# ansible_service_broker_registry_type=rhcc | |
ansible_service_broker_registry_url="registry.access.redhat.com" | |
ansible_service_broker_registry_user=bowline | |
ansible_service_broker_registry_password="..." | |
ansible_service_broker_registry_organization=bowline.io | |
openshift_hosted_etcd_storage_kind=dynamic | |
openshift_hosted_etcd_storage_volume_name=etcd-vol | |
openshift_hosted_etcd_storage_access_modes=["ReadWriteOnce"] | |
openshift_hosted_etcd_storage_volume_size=128M | |
openshift_hosted_etcd_storage_labels={'storage': 'etcd'} | |
# Use firewall d | |
# os_firewall_use_firewalld=true | |
# [glusterfs] | |
# openshift-master | |
[glusterfs_registry:vars] | |
glusterfs_devices=[ "/dev/vdc" ] | |
r_openshift_storage_glusterfs_use_firewalld=false | |
r_openshift_storage_glusterfs_firewall_enabled=true | |
openshift_storage_glusterfs_timeout=600 | |
openshift_storage_glusterfs_wipe=true | |
[glusterfs_registry] | |
openshift-master | |
openshift-minion-1 | |
openshift-minion-2 | |
[masters] | |
openshift-master | |
[etcd] | |
openshift-master | |
# [lb] | |
# openshift-master | |
[nodes] | |
# make them unschedulable by adding openshift_schedulable=False any node that's also a master. | |
openshift-master openshift_node_labels="{'region': 'infra', 'zone': 'default'}" openshift_schedulable=true | |
openshift-minion-[1:2] openshift_node_labels="{'region': 'primary', 'zone': 'default'}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment