Don't flag tasks checking things as changed
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
3abcb2d011
commit
a1ad2f07c6
1 changed files with 2 additions and 0 deletions
|
@ -34,12 +34,14 @@
|
|||
- name: Check if the host can obtain a Kerberos ticket
|
||||
command: kinit -kt /etc/krb5.keytab
|
||||
ignore_errors: yes
|
||||
changed_when: no
|
||||
register: kinit_res
|
||||
when: ipa_server is defined
|
||||
|
||||
- name: Ping the IPA server
|
||||
command: ipa ping
|
||||
ignore_errors: yes
|
||||
changed_when: no
|
||||
register: ipa_ping_res
|
||||
when: ipa_server is defined and kinit_res.rc == 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue