Created
July 6, 2017 19:49
-
-
Save kmurudi/d81a988449b7eb4b639d742844b1c653 to your computer and use it in GitHub Desktop.
This file contains 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
[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'}" | |
[ec2-user@master ~]$ gedit /etc/ansible/hosts | |
-bash: gedit: command not found | |
[ec2-user@master ~]$ gedit /etc/ansible/hosts | |
-bash: gedit: command not found | |
[ec2-user@master ~]$ cat /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'}" |
This file contains 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
[ec2-user@master ~]$ oc get nodes | |
NAME STATUS AGE | |
ip-10-0-1-16.ec2.internal Ready,SchedulingDisabled 30m | |
ip-10-0-1-163.ec2.internal Ready 28m | |
ip-10-0-1-72.ec2.internal Ready 28m | |
ip-10-0-3-66.ec2.internal Ready 28m | |
ip-10-0-4-176.ec2.internal Ready 28m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment