Remove gathering facts

No distribution or os_family related tasks are executed, so this patch
removes this additional task which shouldn't be needed.

Closes-Bug: #1977807
Change-Id: I5c0cf36178511d286e89c3eee907474f68d14fad
This commit is contained in:
fpantano 2022-06-06 18:54:56 +02:00 committed by Francesco Pantano
parent c6eeca026c
commit 000acea82e

View File

@ -14,24 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
# "tripleo_ceph_client" will search for and load any operating system variable file
# found within the "vars/" path. If no OS files are found the task will skip.
- name: Gather variables for each operating system
include_vars: "{{ item }}"
with_first_found:
- skip: true
files:
- "{{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution_version'] | lower }}.yml"
- "{{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution_major_version'] | lower }}.yml"
- "{{ ansible_facts['os_family'] | lower }}-{{ ansible_facts['distribution_major_version'] | lower }}.yml"
- "{{ ansible_facts['distribution'] | lower }}.yml"
- "{{ ansible_facts['os_family'] | lower }}-{{ ansible_facts['distribution_version'].split('.')[0] }}.yml"
- "{{ ansible_facts['os_family'] | lower }}.yml"
tags:
- always
- name: get the list of enabled services on the overcloud
set_fact:
tripleo_enabled_services: "{{ enabled_services | default([]) }}"