Generate SSH authorities during upgrade independently

localhost is not part of the `all` and excluded from play with any limit
Because of that CA is not being generated during upgrade and
things fail later with being unable to retrieve CA.

Change-Id: I3e1de5c28ca7a72abeaa39816cd17182b9eed98f
This commit is contained in:
Dmitriy Rabotyagov 2022-04-07 13:37:46 +02:00
parent 1de9383634
commit d081d92831
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ function main {
pushd ${MAIN_PATH}/playbooks
RUN_TASKS+=("${SCRIPTS_PATH}/upgrade-utilities/deploy-config-changes.yml")
RUN_TASKS+=("certificate-authority.yml")
RUN_TASKS+=("certificate-ssh-authority.yml")
# we don't want to trigger container restarts for galera and rabbit
# but as there will be no hosts available for metal deployments,
# as a fallback option we just run setup-hosts.yml without any arguments