Commit cd398b2
committed
ipaserver: Don't run ipa-server-install if packages are not installed
When running ipaserver role with 'state: absent' and packages are not
installed, uninstallation fails trying to execute 'ipa-server-install
--uninstall' as the command is not available.
As user is user is trying to remove a server that does not exist, no
error should be raised, as the state is already satisfied.
Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>1 parent 89cfb5f commit cd398b2
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
| |||
54 | 61 | | |
55 | 62 | | |
56 | 63 | | |
| 64 | + | |
0 commit comments