Add legacy fact setting
When we disable inject facts by default, there were some additional roles that we missed (ipaclient). We can just set the legacy facts to prevent issues with missing distribution var updates. Change-Id: Ib488a6573c035fc8288a4b24461af56d40416c5d Related-Bug: #1919064
This commit is contained in:
parent
97016b2012
commit
d8408ebb86
@ -18,6 +18,14 @@
|
||||
name: Gather facts
|
||||
strategy: tripleo_free
|
||||
gather_facts: true
|
||||
tasks:
|
||||
- name: Set legacy facts
|
||||
set_fact:
|
||||
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'] }}"
|
||||
tags:
|
||||
- facts
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user