tripleo-validations/scripts
Gael Chamoulaud (Strider) fb5b7bcd8b 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)
(cherry picked from commit 8ad642f538)
(cherry picked from commit 1e9ba89030)
2021-07-29 14:45:14 +00:00
..
bindep-install Migrate molecule jobs from centos 7 to 8 2020-09-09 14:05:48 +02:00
run-local-test Use the UBI8 image for testing 2021-03-19 07:07:51 +01:00
run-validations.sh Adds Search Path Override 2020-03-03 14:19:53 +00:00
tripleo-ansible-inventory Fix Inventory Generation without Overcloud deployed 2021-07-29 14:45:14 +00:00
tripleo-validation.py Change path for validation Ansible files 2021-01-21 15:36:47 +01:00