Remove copy_ssh_key task from validation workbook

This task is not needed anymore since Validations in train
are run directly from VF and Ansible, so without Mistral
at all

Depends-On: I95fbce2938e5c39fae796f0d4b95d4da266ad5a9
Change-Id: I8d3bd935d5bb44022c5d3305b1b22c3ba89be93b
This commit is contained in:
Mathieu Bultel 2021-03-11 11:43:28 +01:00 committed by Kevin Carter
parent 7d93ae6ff9
commit c1cef817ba
1 changed files with 0 additions and 37 deletions

View File

@ -264,43 +264,6 @@ workflows:
node_admin_extra_ssh_keys: ""
container: <% $.container %>
copy_ssh_key:
input:
# FIXME: we should stop using heat-admin as e.g. split-stack
# environments (where Nova didn't create overcloud nodes) don't
# have it present
- overcloud_admin: heat-admin
- queue_name: tripleo
tags:
- tripleo-common-managed
tasks:
get_servers:
action: nova.servers_list
on-success: get_pubkey
publish:
servers: <% task().result._info %>
get_pubkey:
action: tripleo.validations.get_pubkey
on-success: deploy_ssh_key
publish:
pubkey: <% task().result %>
deploy_ssh_key:
workflow: tripleo.deployment.v1.deploy_on_server
with-items: server in <% $.servers %>
input:
server_name: <% $.server.name %>
server_uuid: <% $.server.id %>
config: |
#!/bin/bash
if ! grep "<% $.pubkey %>" /home/<% $.overcloud_admin %>/.ssh/authorized_keys; then
echo "<% $.pubkey %>" >> /home/<% $.overcloud_admin %>/.ssh/authorized_keys
fi
config_name: copy_ssh_key
group: script
queue_name: <% $.queue_name %>
upload_validations:
tags:
- tripleo-common-managed