redhat-cop / aap_utilities

Ansible Collection for automated deployment of AAP and other objects for general use
https://galaxy.ansible.com/infra/aap_utilities
GNU General Public License v3.0
81 stars 50 forks source link

fix generated inventory files without a database inventory group #251

Closed AdilMetkali closed 3 months ago

AdilMetkali commented 3 months ago

Without the control on the existence of the groups in the inventory file, not having a database section in the inventory generates a malformed inventory file.

What does this PR do?

Without the control on the existence of the groups in the inventory file, not having a database section in the inventory generates a malformed inventory file.