iad2: openshift: call a seperate role for the new iad2 cluster

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-05-15 13:15:44 -07:00
parent 14e760a144
commit 4c09ca4ada
2 changed files with 31 additions and 2 deletions

View file

@ -3,4 +3,4 @@ host_group: os
baseiptables: False
no_http2: True
nm_controlled_resolv: True
#openshift_ansible_upgrading: True
openshift_ansible_upgrading: True

View file

@ -184,7 +184,36 @@
openshift_shared_infra: true,
openshift_ansible_use_crio: true,
openshift_ansible_crio_only: false,
when: env != 'staging',
when: env != 'staging' and datacenter == 'phx2',
tags: ['openshift-cluster','ansible-ansible-openshift-ansible']
}
- {
role: ansible-ansible-openshift-ansible,
cluster_inventory_filename: "cluster-inventory",
openshift_release: "v3.11",
openshift_ansible_path: "/root/openshift-ansible",
openshift_ansible_pre_playbook: "playbooks/prerequisites.yml",
openshift_ansible_playbook: "playbooks/deploy_cluster.yml",
openshift_ansible_version: "openshift-ansible-3.11.145-1",
openshift_ansible_ssh_user: root,
openshift_ansible_install_examples: true,
openshift_ansible_containerized_deploy: false,
openshift_cluster_masters_group: "os_masters",
openshift_cluster_nodes_group: "os_nodes",
openshift_cluster_infra_group: "os_nodes",
openshift_auth_profile: "fedoraidp",
openshift_master_ha: true,
openshift_debug_level: 1,
openshift_deployment_type: "openshift-enterprise",
openshift_cluster_url: "{{ os_url}}",
openshift_app_subdomain: "{{ os_app_url }}",
openshift_internal_cluster_url: "os-masters{{ env_suffix }}.iad2.fedoraproject.org",
openshift_api_port: 443,
openshift_console_port: 443,
openshift_shared_infra: true,
openshift_ansible_use_crio: true,
openshift_ansible_crio_only: false,
when: env != 'staging' and datacenter == 'iad2',
tags: ['openshift-cluster','ansible-ansible-openshift-ansible']
}