freeipa / ansible-freeipa

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

freeipa.ansible_freeipa.ipaserver masks certain errors #788

Open donescup opened 2 years ago

donescup commented 2 years ago

freeipa.ansible_freeipa.ipaserver masks certain errors; It run the ipa command similar to: /usr/sbin/ipa-server-install --uninstall -U --ignore-last-of-role Various other arguments are included depending on options, but there no way to include --ignore-topology-disconnect. In addition, the role considers rc=1 in the command as success.

freeipa version 1.6.2

$ ansible --version ansible [core 2.11.5] config file = /etc/ansible/ansible.cfg configured module search path = [ ... ] ansible python module location = /usr/local/lib/python3.8/site-packages/ansible ansible collection location = ...:/usr/share/ansible/collections executable location = /usr/local/bin/ansible python version = 3.8.6 (default, Jan 22 2021, 11:41:28) [GCC 8.4.1 20200928 (Red Hat 8.4.1-1)] jinja version = 3.0.2 libyaml = True

Component name: freeipa

OS / Environment controller = RHEL 8.4, target = VMware ESXi 6.7.0

Steps to Reproduce playbook fragment:

Expected results:

Actual results: Success

jnm27 commented 1 year ago

why does this have no labels or anything?

t-woerner commented 1 year ago

What is the expected result in your case? It is empty.