Merge "Don't pass empty values for ipaclient_servers to ipaclient role" into stable/train
This commit is contained in:
commit
2c5c0706e6
|
@ -124,18 +124,24 @@ outputs:
|
||||||
- name: enroll the node as an ipa client
|
- name: enroll the node as an ipa client
|
||||||
when: step|int == 1
|
when: step|int == 1
|
||||||
vars:
|
vars:
|
||||||
state: present
|
map_merge:
|
||||||
ipaclient_otp: "{{ ipa_host_otp }}"
|
-
|
||||||
idm_enroll_base_server: {get_param: IdMEnrollBaseServer}
|
state: present
|
||||||
ipaclient_mkhomedir: {get_param: MakeHomeDir}
|
ipaclient_otp: "{{ ipa_host_otp }}"
|
||||||
ipaclient_domain: {get_param: IdMDomain}
|
idm_enroll_base_server: {get_param: IdMEnrollBaseServer}
|
||||||
ipaclient_no_ntp: {get_param: IdMNoNtpSetup}
|
ipaclient_mkhomedir: {get_param: MakeHomeDir}
|
||||||
ipaclient_force: yes
|
ipaclient_no_ntp: {get_param: IdMNoNtpSetup}
|
||||||
ipaclient_servers: {get_param: IdMServer}
|
ipaclient_force: yes
|
||||||
ipaclient_hostname: "{{ fqdn_canonical }}"
|
ipaclient_hostname: "{{ fqdn_canonical }}"
|
||||||
ipaclient_install_packages: {get_param: IdMInstallClientPackages}
|
ipaclient_install_packages: {get_param: IdMInstallClientPackages}
|
||||||
ipaclients:
|
ipaclients:
|
||||||
- "{{ inventory_hostname }}"
|
- "{{ inventory_hostname }}"
|
||||||
|
-
|
||||||
|
if:
|
||||||
|
- idm_server_provided
|
||||||
|
- ipaclient_servers: {get_param: IdMServer}
|
||||||
|
ipaclient_domain: {get_param: IdMDomain}
|
||||||
|
- {}
|
||||||
block:
|
block:
|
||||||
- name: check if default.conf exists
|
- name: check if default.conf exists
|
||||||
stat:
|
stat:
|
||||||
|
|
Loading…
Reference in New Issue