Skip to content

ipaserver fails to "undeploy" when packages are not installed #1362

Open
@rjeffman

Description

@rjeffman

When running ipaserver role with state: absent in a node that does not have IPA packages available, the following error occurs:

TASK [freeipa.ansible_freeipa.ipaserver : Uninstall - Uninstall IPA server] ******************
fatal: [kashyyyk]: FAILED! => {"changed": false, "cmd": "/usr/sbin/ipa-server-install --uninstall -U", "failed_when_result": true, "msg": "[Errno 2] No such file or directory: b'/usr/sbin/ipa-server-install'", "rc": 2, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

It was expected that no error occurred in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions