###############################################################################
# Role: UndercloudMinion                                                      #
###############################################################################
- name: UndercloudMinion
  description: |
    A role to deploy an undercloud minion to handle scaling out of heat-engine
    and ironic-conductor via heat using the 'openstack undercloud
    minion deploy' command.
  CountDefault: 1
  disable_constraints: True
  ServicesDefault:
    - OS::TripleO::Services::CACerts
    - OS::TripleO::Services::CertmongerUser
    - OS::TripleO::Services::ContainerImagePrepare
    - OS::TripleO::Services::ContainersLogrotateCrond
    - OS::TripleO::Services::HeatEngine
    - OS::TripleO::Services::IronicConductor
    - OS::TripleO::Services::Kernel
    - OS::TripleO::Services::MySQLClient
    - OS::TripleO::Services::OpenStackClients
    - OS::TripleO::Services::Podman
    - OS::TripleO::Services::Rhsm
    - OS::TripleO::Services::Timesync
    - OS::TripleO::Services::Timezone
    - OS::TripleO::Services::Tmpwatch
    - OS::TripleO::Services::TripleoFirewall
    - OS::TripleO::Services::TripleoValidations
    - OS::TripleO::Services::Tuned
    - OS::TripleO::Services::UndercloudMinionMessaging
    - OS::TripleO::Services::UndercloudUpgrade

###############################################################################
# Role: UndercloudMinion                                                      #
###############################################################################
- name: UndercloudMinion
  description: |
    A role to deploy an undercloud minion to handle scaling out of heat-engine
    and ironic-conductor via heat using the 'openstack undercloud
    minion deploy' command.
  CountDefault: 1
  disable_constraints: True
  tags:
    - primary
  ServicesDefault:
    - OS::TripleO::Services::CACerts
    - OS::TripleO::Services::CertmongerUser
    - OS::TripleO::Services::ContainerImagePrepare
    - OS::TripleO::Services::ContainersLogrotateCrond
    - OS::TripleO::Services::HeatEngine
    - OS::TripleO::Services::IronicConductor
    - OS::TripleO::Services::Kernel
    - OS::TripleO::Services::MySQLClient
    - OS::TripleO::Services::OpenStackClients
    - OS::TripleO::Services::Podman
    - OS::TripleO::Services::Rhsm
    - OS::TripleO::Services::Sshd
    - OS::TripleO::Services::Timesync
    - OS::TripleO::Services::Timezone
    - OS::TripleO::Services::Tmpwatch
    - OS::TripleO::Services::TripleoFirewall
    - OS::TripleO::Services::TripleoValidations
    - OS::TripleO::Services::Tuned
    - OS::TripleO::Services::UndercloudMinionMessaging
    - OS::TripleO::Services::UndercloudUpgrade

Add ssh configuration for minion
Add ssh configuration for minion

Currently once the install is complete, a user is locked out which isn't
ideal. Let's manage the ssh like we do for the undercloud as well.

Change-Id: Ia94a3b92355cb0bd24f133a22e3dc5977fcb5180
Closes-Bug: #1837942
