The RHEL suppplied ansible-freeipa RPM package installs the
modules at the default ansible module path and not as a
collection. This caused problems for the end user.
This also changes the linter job to run on CentOS, since
the ansible-freeipa package is not available on Ubuntu.
This also reverts commit 2cc09a2b68c5b64b35742de91d4e7c0cd73f188c.
Reason for revert: We get this error:
error={"msg": "template error while templating string:
cannot import name 'environmentfilter' from 'jinja2.filters'
(/usr/lib/python3.9/site-packages/ansible/_vendor/jinja2/filters.py)\n
line 0. String: {{ 'A' if record_value | ansible.utils.ipv4
else 'AAAA' }}"}
Change-Id: I7df25fb945da1d98c68fe4113a09afdc2f2c5687
A module has been added to delete hosts and clean up all the sub hosts
and services associated with those hosts in IPA. It can be called
for a single host - as in the case of a scale_down operation, or for
multiple hosts - as in the case of a stack delete. Ultimately, we
would like to add this functionality to ansible-freeipa.
Co-Authored-By: Grzegorz Grasza <xek@redhat.com>
Change-Id: Ib08f038773f8ca28d85a95921cdb522b5cd4de04