Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Set ansible_distribution vars for ipaclient"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Mar 16, 2021
2 parents 3238bc1 + fad07aa commit 5ae932b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deployment/ipa/ipaservices-baremetal-ansible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ae932b

Please sign in to comment.