Also add DNS check override for host check

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2020-07-24 22:42:55 +02:00
parent 665964a79f
commit 97234b1c83

View file

@ -22,7 +22,7 @@
- name: Create host entry
delegate_to: "{{ ipa_server }}"
command: ipa host-add {{host}}
command: ipa host-add --force {{host}}
register: host_add_result
check_mode: no
changed_when: "'Added host' in host_add_result.stdout"