Commit 5054732
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 the 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 5054732
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
| |||
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
| 62 | + | |
0 commit comments