hosts 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # This is an example of a bring your own (byo) host inventory
  2. # Create an OSEv3 group that contains the masters and nodes groups
  3. [OSEv3:children]
  4. masters
  5. nodes
  6. etcd
  7. # Set variables common for all OSEv3 hosts
  8. [OSEv3:vars]
  9. # SSH user, this user should allow ssh based auth without requiring a password
  10. ansible_ssh_user=root
  11. # If ansible_ssh_user is not root, ansible_sudo must be set to true
  12. #ansible_sudo=true
  13. # To deploy origin, change deployment_type to origin
  14. deployment_type=enterprise
  15. # Pre-release registry URL
  16. oreg_url=docker-buildvm-rhose.usersys.redhat.com:5000/openshift3/ose-${component}:${version}
  17. # Pre-release additional repo
  18. openshift_additional_repos=[{'id': 'ose-devel', 'name': 'ose-devel', 'baseurl': 'http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterprise/3.0/latest/RH7-RHOSE-3.0/$basearch/os', 'enabled': 1, 'gpgcheck': 0}]
  19. #openshift_additional_repos=[{'id': 'ose-devel', 'name': 'ose-devel', 'baseurl': 'http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterpriseErrata/3.0/latest/RH7-RHOSE-3.0/$basearch/os', 'enabled': 1, 'gpgcheck': 0}]
  20. # Origin copr repo
  21. #openshift_additional_repos=[{'id': 'openshift-origin-copr', 'name': 'OpenShift Origin COPR', 'baseurl': 'https://copr-be.cloud.fedoraproject.org/results/maxamillion/origin-next/epel-7-$basearch/', 'enabled': 1, 'gpgcheck': 1, gpgkey: 'https://copr-be.cloud.fedoraproject.org/results/maxamillion/origin-next/pubkey.gpg'}]
  22. # htpasswd auth
  23. #openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/openshift/htpasswd'}]
  24. # host group for masters
  25. [masters]
  26. ose3-master-ansible.test.example.com
  27. [etcd]
  28. #ose3-master-ansible.test.example.com
  29. # host group for nodes
  30. [nodes]
  31. ose3-master-ansible.test.example.com openshift_scheduleable=False
  32. ose3-node[1:2]-ansible.test.example.com openshift_node_labels="{'region': 'primary', 'zone': 'default'}"