[IPA] Ignore errors when determining replication status
The ipactl status returns non 0 code when the IPA server is not set yet. We need to ignore the error code when checking that. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
3e349c80ec
commit
0969fed462
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@
|
||||||
- name: determine whether we need to set up replication
|
- name: determine whether we need to set up replication
|
||||||
shell: ipactl status
|
shell: ipactl status
|
||||||
register: replication_status
|
register: replication_status
|
||||||
|
ignore_errors: true
|
||||||
tags:
|
tags:
|
||||||
- ipa/server
|
- ipa/server
|
||||||
- config
|
- config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue