###############################################################################
# Role: OpenShiftInfra                                                        #
###############################################################################
- name: OpenShiftInfra
  description: |
    OpenShiftInfra role, a specialized worker that only runs infra pods.
  CountDefault: 1
  tags:
    - openshift
  networks:
    - InternalApi
    - Storage
    - StorageMgmt
    - Tenant
  RoleParametersDefault:
    OpenShiftNodeGroupName: 'node-config-infra'
  # For systems with both IPv4 and IPv6, you may specify a gateway network for
  # each, such as ['ControlPlane', 'External']
  default_route_networks: ['ControlPlane']
  ServicesDefault:
    - OS::TripleO::Services::Docker
    - OS::TripleO::Services::Sshd
    - OS::TripleO::Services::Ntp
    - OS::TripleO::Services::OpenShift::Worker