Use trash_output in create_admin_via_ssh workflow

When deploying a large amount of nodes, the create_admin_via_ssh
workflow could fail due to the large amount of ansible output generated.

This patch updates the tripleo.ansible-playbook action in the workflow
with trash_output:true so that the output is not saved in the mistral
DB.

There is a log file saved already in case the output is needed for debug
purposes.

Change-Id: I078b22fb0a0e7116f87419b444b8b4039db73ef8
Closes-Bug: #1842102
(cherry picked from commit 76d3ccc445)
This commit is contained in:
James Slagle 2019-08-30 12:18:56 -04:00 committed by Emilien Macchi
parent 74991a643a
commit ba073e4dc3
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,8 @@
---
fixes:
- When deploying a large amount of nodes, the create_admin_via_ssh workflow
could fail due to the large amount of ansible output generated. This patch
updates the tripleo.ansible-playbook action in the workflow with
trash_output:true so that the output is not saved in the mistral DB. There
is a log file saved already in case the output is needed for debug
purposes.

View File

@ -184,6 +184,7 @@ workflows:
write_tmp_playbook:
action: tripleo.ansible-playbook
input:
trash_output: true
inventory:
overcloud:
hosts: <% $.ssh_servers.toDict($, {}) %>