Fixes the incorrect inventory generation when the user provided group names don't match with the expected groups in aap_setup_prep_inv_nodes variable.
How should this be tested?
Automated tests are preferred, but not always doable - especially for infrastructure. Include commands to run your new feature, and also post-run commands to validate that it worked. (please use code blocks to format code samples)
All details regarding this is provided in Issue #258
Is there a relevant Issue open for this?
Provide a link to any open issues that describe the problem you are solving.
resolves #258
What does this PR do?
Fixes the incorrect inventory generation when the user provided group names don't match with the expected groups in
aap_setup_prep_inv_nodes
variable.How should this be tested?
Automated tests are preferred, but not always doable - especially for infrastructure. Include commands to run your new feature, and also post-run commands to validate that it worked. (please use code blocks to format code samples)
All details regarding this is provided in Issue #258
Is there a relevant Issue open for this?
Provide a link to any open issues that describe the problem you are solving. resolves #258
Other Relevant info, PRs, etc
This PR is basically reverting the code changed in https://github.com/redhat-cop/aap_utilities/commit/8363732ccda4f2bb14016190d7ebe5b6233149f4