Skip to content
Snippets Groups Projects
Commit 9adfb2f5 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ipaserver/tasks/uninstall.yml: Fix error for using uninstall on not installed server

parent 986ac80a
No related branches found
No related tags found
No related merge requests found
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
{{ '--ignore-topology-disconnect' if ipaserver_ignore_topology_disconnect | bool else '' }} {{ '--ignore-topology-disconnect' if ipaserver_ignore_topology_disconnect | bool else '' }}
{{ '--ignore-last-of-role' if ipaserver_ignore_last_of_role | bool else ''}} {{ '--ignore-last-of-role' if ipaserver_ignore_last_of_role | bool else ''}}
register: uninstall register: uninstall
# 2 means that uninstall failed because IPA server was not configured # 1 means that uninstall failed because IPA server was not configured
failed_when: uninstall.rc != 0 and uninstall.rc != 2 failed_when: uninstall.rc != 0 and uninstall.rc != 1
changed_when: uninstall.rc == 0 changed_when: uninstall.rc == 0
#- name: Remove IPA server packages #- name: Remove IPA server packages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment