Skip to content

Instantly share code, notes, and snippets.

@dav1x
Created August 7, 2017 14:19
Show Gist options
  • Save dav1x/494bf1c9cb09f7afeee82942d56d74cb to your computer and use it in GitHub Desktop.
Save dav1x/494bf1c9cb09f7afeee82942d56d74cb to your computer and use it in GitHub Desktop.
---
### Red Hat Virtualization Engine Connection
engine_url: https://engine.example.com/ovirt-engine/api
engine_user: admin@internal
engine_password: changeme
# CA file copied from engine:/etc/pki/ovirt-engine/ca.pem; path is relative to playbook directory
#engine_cafile: ../ca.pem
### Red Hat Virtualization VM Image
## For CentOS 7:
#qcow_url: https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
## For RHEL: Find KVM Guest Image in Downloads -> RHEL on https://access.redhat.com/ and use before the link expires:
#qcow_url:https://access.cdn.redhat.com//content/origin/files/<removed>/rhel-guest-image-7.3-35.x86_64.qcow2?_auth_=<removed>
## Alternatively, download the above KVM image, and re-host it on a local satellite:
#qcow_url: https://satellite.example.com/pub/rhel-guest-image-7.3-35.x86_64.qcow2
qcow_url: http://satellite.example.com/pub/rhel-guest-image-7.3-35.x86_64.qcow2
# Name of cluster to install on
rhv_cluster: Default
### Choose a subscription method:
## For subscriptions to Satellite:
#
rhsm_satellite: satellite.example.com
rhsm_activation_key: vm-key
rhsm_org_id: Default_Organization
rhsm_pool: none
rhsm_katello_url: http://satellite.example.com/pub/katello-ca-consumer-latest.noarch.rpm
#
## For subscriptions to Red Hat's CDN
## Userid/Password could be moved to a vault file and encrypted for safety, see the following link for details:
## http://docs.ansible.com/ansible/playbooks_vault.html
#
#rhsm_pool: OpenShift Enterprise, Premium*
#rhsm_user:
#rhsm_password:
### Add PUBLIC ssh key here for access to all nodes.
## Use ssh-agent or a passwordless key in ~/.ssh/id_rsa for the PRIVATE key.
root_ssh_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGQ2mG1A9fhbD9aZrBJUReaA4jhm5Tq0z9w590Sc2bdJBmTy+PzyyxqBQsijoKhWYZbOigJWrA64OOYgfUacK+tvziUv7kCYKEPF3LDuaduBjWuxV1vTn+2SAkgl+TGHtlfOgaTAXbmEdzwLIvDUQUebyI1QAE/aPxterDmACbMWFezPpBBDxJ6QZEcJwyzqX/btDMUpl8yNcEwUqHJvncJZZ9fTFkoKmqKa11FPeq4dLaaihPGj/PtwvkL+SKZEot4FkXWzSyXrAEUAiSHMzZ0069/EjZ/d+tu+6u/fVCLS5wusXdL1sfzX019BNRaj2/L1WbQ6PB+HQwgEXaLf+5 [email protected]
### Openshift variables
## Choices of deployment type: openshift-enterprise, origin
deployment_type: openshift-enterprise
openshift_vers: v3_5
containerized: false
console_port: 8443
# DNS entries, requires wildcard *.{{app_dns_prefix}}.{{public_hosted_zone}} points to
# IP of {{load_balancer_hostname}}
public_hosted_zone: example.com
app_dns_prefix: apps
load_balancer_hostname: openshift-lb.{{public_hosted_zone}}
openshift_master_cluster_hostname: "{{load_balancer_hostname}}"
openshift_master_cluster_public_hostname: openshift.{{public_hosted_zone}}
# OpenShift Identity Providers
# htpasswd shown here, other options documented at
# https://docs.openshift.com/container-platform/3.5/install_config/configuring_authentication.html
openshift_master_identity_providers:
- name: htpasswd_auth
login: true
challenge: true
kind: HTPasswdPasswordIdentityProvider
filename: /etc/origin/master/htpasswd
# Defining htpasswd users
#openshift_master_htpasswd_users:
# - user1: <pre-hashed password>
# - user2: <pre-hashed password>
# Use 'htpasswd -n <user>' to generate password hash. (htpasswd from httpd-tools RPM)
# Example with admin:changeme
openshift_master_htpasswd_users: {'admin': '$apr1$zAhyA9Ko$rBxBOwAwwtRuuaw8OtCwH0'}
# or
#openshift_master_htpasswd_file=<path to local pre-generated htpasswd file>
# NFS for registry storage
openshift_hosted_registry_storage_kind: nfs
openshift_hosted_registry_storage_host: 192.168.155.10
openshift_hosted_registry_storage_nfs_directory: /var/lib/exports
openshift_hosted_registry_storage_volume_name: registryvol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment