Skip to content
Snippets Groups Projects
Unverified Commit 28c7e67a authored by Paweł Krupa's avatar Paweł Krupa Committed by paulfantom
Browse files

[minor] port variables file discovery from OpenStack-Ansible

parent 86e74f26
No related branches found
No related tags found
No related merge requests found
......@@ -2,9 +2,12 @@
- name: Gather variables for each operating system
include_vars: "{{ item }}"
with_first_found:
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version }}.yml"
- "{{ ansible_distribution | lower }}.yml"
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_version | lower }}.yml"
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
- "{{ ansible_distribution_file_variety | lower }}.yml"
- "{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
- "{{ ansible_distribution | lower }}.yml"
- "{{ ansible_os_family | lower }}-{{ ansible_distribution_version.split('.')[0] }}.yml"
- "{{ ansible_os_family | lower }}.yml"
tags:
- node_exporter_install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment