freeipa / ansible-freeipa

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

WIP: depolyment roles: Allow deployment without gather_facts #1205

Open rjeffman opened 5 months ago

rjeffman commented 5 months ago

When using the deployment roles, some facts about the target node distribution are required, but using 'gather_facts: true' takes a long time as it probes for a lot of facts which are not used by the deployment roles.

By restricting the facts loaded to the ones that are used, there's a reduction in the deployment tasks, as there's less data to be probed before the role is executed.