Skip to content
Snippets Groups Projects
Commit 8af5a268 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

roles/ipaclient/tasks/install.yml: Use ipadiscovery.hostname for ipahost

The use of ansible_fqdn could result in a failure if DNS hostname and IP
do not match.
parent 46b5d0f5
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@
principal: "{{ ipaadmin_principal | default('admin') }}"
password: "{{ ipaadmin_password | default(omit) }}"
keytab: "{{ ipaadmin_keytab | default(omit) }}"
fqdn: "{{ ansible_fqdn }}"
fqdn: "{{ ipadiscovery.hostname }}"
lifetime: "{{ ipaclient_lifetime | default(omit) }}"
random: True
register: ipahost_output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment