freeipa / freeipa-healthcheck

Check the health of a freeIPA installation
GNU General Public License v3.0
50 stars 28 forks source link

ipa-healthcheck use in ansible-freeipa roles #100

Open t-woerner opened 4 years ago

t-woerner commented 4 years ago

I would like to use ipa-healthcheck in ipaserver and ipareplica roles to detect the parts that have been configured. Which of the parts are working correctly and which are not working correctly.

Using the ipaserver or ipareplica role again with a different configuration for the same node should adapt the configuration of the node to the newly given configuration. Therefore it will be needed to be able to identify the parts that need to be adapted, installed and uninstalled.

A list of the installed parts would be therefore needed.

rcritten commented 4 years ago

So you're looking for something like the output of ipa server-role-find ?

rcritten commented 1 year ago

I'm inclined to close this. healthcheck is designed to work on fully-configured systems. If you can short-circuit is_ipa_configured() then sure, it would fail all over the place and I suppose that would be a means to determine what is configured but healthcheck is premised on the assumption that things were properly configured from the start.