hosts.openstack 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # This is an example of an OpenShift-Ansible host inventory
  2. # Create an OSEv3 group that contains the masters and nodes groups
  3. [OSEv3:children]
  4. masters
  5. nodes
  6. etcd
  7. lb
  8. # Set variables common for all OSEv3 hosts
  9. [OSEv3:vars]
  10. ansible_ssh_user=cloud-user
  11. ansible_become=yes
  12. # Debug level for all OpenShift components (Defaults to 2)
  13. debug_level=2
  14. openshift_deployment_type=openshift-enterprise
  15. openshift_additional_repos=[{'id': 'ose-3.1', 'name': 'ose-3.1', 'baseurl': 'http://pulp.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/ose/3.1/os', 'enabled': 1, 'gpgcheck': 0}]
  16. openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider'}]
  17. #openshift_pkg_version=-3.0.0.0
  18. [masters]
  19. jdetiber-master.usersys.redhat.com openshift_public_hostname="{{ inventory_hostname }}"
  20. [etcd]
  21. jdetiber-etcd.usersys.redhat.com
  22. [lb]
  23. #ose3-lb-ansible.test.example.com
  24. [nodes]
  25. jdetiber-master.usersys.redhat.com openshift_public_hostname="{{ inventory_hostname }}" openshift_node_group_name="node-config-master"
  26. jdetiber-node[1:2].usersys.redhat.com openshift_public_hostname="{{ inventory_hostname }}" openshift_node_group_name="node-config-compute"