Merge "Set ansible_distribution vars for ipaclient"
This commit is contained in:
commit
5ae932bc93
@ -156,6 +156,13 @@ outputs:
|
||||
ipaclient_hostname: "{{ hostvars[outer_item.0]['fqdn_canonical'] }}"
|
||||
ipaclients:
|
||||
- "{{ outer_item.0 }}"
|
||||
#NOTE(xek): The following is a workaround till ipaclient is fixed to use ansible_facts
|
||||
# see: https://github.com/freeipa/ansible-freeipa/pull/517
|
||||
ansible_distribution: "{{ ansible_facts['distribution'] }}"
|
||||
ansible_distribution_major_version: "{{ ansible_facts['distribution_major_version'] }}"
|
||||
ansible_distribution_release: "{{ ansible_facts['distribution_release'] }}"
|
||||
ansible_distribution_version: "{{ ansible_facts['distribution_version'] }}"
|
||||
ansible_os_family: "{{ ansible_facts['os_family'] }}"
|
||||
-
|
||||
if:
|
||||
- idm_server_provided
|
||||
|
Loading…
Reference in New Issue
Block a user