My Ansible Playbook to install an OpenShift Lab
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.4 KiB

#
# Variables used by my playbook
#
[allinone:vars]
lab_dns_suffix=openshift.test
lab_openshift_version=3.5
docker_storage_vg=docker
[allinone:children]
masters
#
# Shared variables used by both openshift-ansible and my playbook
#
[all:vars]
# Default route suffix
openshift_master_default_subdomain=app.openshift.test
# The SSH user that Ansible will use to run playbooks
ansible_ssh_user=redhat
[masters]
openshift35.openshift.test
[nodes]
openshift35.openshift.test openshift_schedulable=true openshift_node_labels="{'region': 'infra'}"
#
# The rest is used only by the OpenShift installer playbook
#
[OSEv3:children]
masters
nodes
[OSEv3:vars]
# Yes, we need to use sudo
ansible_become=yes
# what to install
deployment_type=openshift-enterprise
# New installation method : everything in containers !
contenairized=true
# Clustering method
openshift_master_cluster_method=native
# Bypass Registry Security Checks
openshift_docker_insecure_registries=172.30.0.0/16
# Disable any authentication
openshift_master_identity_providers=[{'name': 'allow_all', 'login': 'true', 'challenge': 'true', 'kind': 'AllowAllPasswordIdentityProvider'}]
# Make sure NTP is enabled
openshift_clock_enabled=true
# Do not create the default project "my-project"
openshift_additional_projects={}
# Choose the default networking plugin so that all projects can communicate with eachother
os_sdn_network_plugin_name='redhat/openshift-ovs-subnet'