---
# Variables shared by multiple playbooks and roles, which are not interesting
# to user

openshift_major_version: 6
openshift_ansible_branch: release-3.{{ openshift_major_version }}
openshift_required_repos:
- rhel-7-server-rpms
- rhel-7-server-extras-rpms
- rhel-7-server-ose-3.{{ openshift_major_version }}-rpms
- rhel-7-fast-datapath-rpms

gcloud_region: '{{ gcloud_zone[:-2] }}'
gcs_registry_bucket: '{{ gcloud_project }}-{{ prefix }}-registry-bucket'
deployment_type: '{{ openshift_deployment_type }}'

# This is either a symlink to /usr/share/ansible/openshift-ansible or
# git repo of openshift ansible installer from github
openshift_ansible_installer_dir: '{{ playbook_dir }}/../../../../../openshift-ansible'

ssh_config_file: '~/.ssh/config'

rhel_image: '{{ rhel_image_path | basename | regex_replace("^(.*)\.qcow2$", "\1") }}'
rhel_image_gce: '{{ rhel_image | replace(".", "-") | replace("_", "-") | lower }}'
gold_image: '{{ rhel_image_gce + "-gold" if openshift_deployment_type == "openshift-enterprise" else "centos-7-ocp-gold-image" }}'
gold_image_family: '{{ "rhel-guest-gold" if openshift_deployment_type == "openshift-enterprise" else "centos-7-ocp-gold" }}'

console_port: 443

validate_etcd_short_hostname: true
