Skip to content

Commit 02f10df

Browse files
authored
Fix '400 HTTP Bad Request' when adding IPA hosts (#389)
1 parent 7c6f48d commit 02f10df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ansible/roles/freeipa/tasks/addhost.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
community.general.ipa_host:
55
name: "{{ node_fqdn }}"
66
ip_address: "{{ freeipa_client_ip }}"
7-
ipa_host: "{{ groups['freeipa_server'].0 }}"
87
ipa_pass: "{{ vault_freeipa_admin_password }}"
98
ipa_user: admin
109
state: present
@@ -19,12 +18,12 @@
1918
community.general.ipa_host:
2019
name: "{{ node_fqdn }}"
2120
ip_address: "{{ freeipa_client_ip }}"
22-
ipa_host: "{{ groups['freeipa_server'].0 }}"
2321
ipa_pass: "{{ vault_freeipa_admin_password }}"
2422
ipa_user: admin
2523
random_password: true
2624
state: present
2725
validate_certs: false
26+
ipa_timeout: 30
2827
delegate_to: "{{ groups['freeipa_server'].0 }}"
2928
when: "'sshpubkeyfp' not in _ipa_host_check.host"
3029
register: _ipa_host_add

0 commit comments

Comments
 (0)