tripleo-validations/scripts
Gael Chamoulaud (Strider) 8ad642f538 Fix Inventory Generation without Overcloud deployed
The utils.list_plan_and_stack function returns None in case of exceptions
or and empty list if no stacks or no plans have been found in the
environment.

This patch fixes the conditional to allow the tripleo-ansible-inventory
script to generate only the undercloud Inventory when no Overcloud has
been deployed.

Related-bz: rhbz#1987318

Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
Change-Id: If0dc3300fbd8cf245c0477be782110d897344860
(cherry picked from commit 5a8cfac7f9)
(cherry picked from commit 9289704779)
2021-07-29 14:43:21 +00:00
..
bindep-install Migrate molecule jobs from centos 7 to 8 2020-03-27 07:38:58 +00:00
run-local-test Fix molecule jobs after release of cryptography3.4 2021-02-11 07:25:18 +00:00
run-validations.sh Adds Search Path Override 2020-02-06 14:34:46 +00:00
tripleo-ansible-inventory Fix Inventory Generation without Overcloud deployed 2021-07-29 14:43:21 +00:00
tripleo-validation.py Revert "Revert "Change path for validation Ansible files"" 2020-09-25 08:31:35 +00:00