
Introduce an openshift_node template that serves as base for all openshift services. This reworks the inventory files so that hosts are defined once and made part of the appropriate groups. The master node can now be split from the infra node, or bundled together with the Worker in the all-in-one role. Provide environment files to enable the Master, Worker, Infra or all-in-one role individually. Change-Id: I9ad86185b01c88b609d320e2384c5644bd99bdae
34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
###############################################################################
|
|
# Role: OpenShiftAllInOne #
|
|
###############################################################################
|
|
- name: OpenShiftAllInOne
|
|
description: |
|
|
OpenShiftAllInOne role
|
|
CountDefault: 1
|
|
RoleParametersDefault:
|
|
OpenShiftNodeGroupName: 'node-config-all-in-one'
|
|
tags:
|
|
- primary
|
|
- controller
|
|
- openshift
|
|
networks:
|
|
- External
|
|
- InternalApi
|
|
- Storage
|
|
- StorageMgmt
|
|
- Tenant
|
|
# For systems with both IPv4 and IPv6, you may specify a gateway network for
|
|
# each, such as ['ControlPlane', 'External']
|
|
default_route_networks: ['External']
|
|
ServicesDefault:
|
|
- OS::TripleO::Services::Docker
|
|
- OS::TripleO::Services::Sshd
|
|
- OS::TripleO::Services::Ntp
|
|
- OS::TripleO::Services::TripleoFirewall
|
|
- OS::TripleO::Services::TripleoPackages
|
|
- OS::TripleO::Services::HAproxy
|
|
- OS::TripleO::Services::Keepalived
|
|
- OS::TripleO::Services::OpenShift::Master
|
|
- OS::TripleO::Services::OpenShift::Worker
|
|
- OS::TripleO::Services::OpenShift::GlusterFS
|