freeipa / ansible-freeipa

Ansible roles and modules for FreeIPA
GNU General Public License v3.0
489 stars 232 forks source link

New image builder without molecule using podman #1273

Closed t-woerner closed 1 month ago

t-woerner commented 1 month ago

The new image builder is not using molecule and uses podman directly for the generation of the ansible-test images.

Two additional services are installed to simplify the use of the container in the test:

With these services it is now only needed to wait till all services in the container are started. There is no need to restart the IPA server anymore. Simply use something like this before starting the tests:

while [ -n "$(podman exec ansible-test systemctl list-jobs | grep -vi 'no jobs running')" ]; do echo "waiting.."; sleep 5; done

New files