Skip to content

Instantly share code, notes, and snippets.

@kmurudi
Created July 14, 2017 02:43
Show Gist options
  • Save kmurudi/be79b251a175d33439ec2dd9f02a51f3 to your computer and use it in GitHub Desktop.
Save kmurudi/be79b251a175d33439ec2dd9f02a51f3 to your computer and use it in GitHub Desktop.
/etc/ansible/hosts
[OSEv3:children]
masters
nodes
etcd
[OSEv3:vars]
ansible_ssh_user=ec2-user
ansible_ssh_private_key_file=/home/ec2-user/.ssh/id_rsa
ansible_ssh_extra_args="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=false"
ansible_become=true
deployment_type=openshift-enterprise
containerized=true
openshift_master_api_port=443
openshift_master_console_port=443
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}]
openshift_master_htpasswd_users={'openshift': '$apr1$Mr5ZCJzb$mvaXu2UMOZ47pnQqNrLEi.'}
openshift_image_tag=v3.5.5.26
openshift_pkg_version=-3.5.5.26-1
openshift_master_default_subdomain=apps.unset.ocp-admin.aws.openshifttestdrive.com
openshift_master_cluster_public_hostname=openshift.unset.ocp-admin.aws.openshifttestdrive.com
openshift_router_selector='region=infra'
openshift_registry_selector='region=infra'
osm_default_node_selector='region=apps'
openshift_examples_modify_imagestreams=true
openshift_metrics_install_metrics=false
openshift_hosted_logging_deploy=false
[etcd]
master.unset.ocp-admin.aws.openshifttestdrive.com
[masters]
master.unset.ocp-admin.aws.openshifttestdrive.com
[nodes]
master.unset.ocp-admin.aws.openshifttestdrive.com
infra.unset.ocp-admin.aws.openshifttestdrive.com openshift_node_labels="{'region': 'infra'}"
node01.unset.ocp-admin.aws.openshifttestdrive.com openshift_node_labels="{'region': 'apps'}"
node02.unset.ocp-admin.aws.openshifttestdrive.com openshift_node_labels="{'region': 'apps'}"
node03.unset.ocp-admin.aws.openshifttestdrive.com openshift_node_labels="{'region': 'apps'}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment