Merge "Add legacy fact setting" into stable/ussuri
This commit is contained in:
commit
918504fd5f
|
@ -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