generated from 39services/ansible_role_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
22 lines (21 loc) · 1.21 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
__role_name: "rpmfusion"
__role_file_search_order:
- "{{ (ansible_facts['distribution'] | lower) | replace(' ', '_') }}_\
{{ ansible_facts['distribution_release'] | lower | replace(' ', '_') }}_\
{{ ansible_facts['distribution_version'] }}.yml" # centos_stream_8_6.yml
- "{{ (ansible_facts['distribution'] | lower) | replace(' ', '_') }}_\
{{ ansible_facts['distribution_version'] }}.yml" # centos_8.6.yml
- "{{ (ansible_facts['distribution'] | lower) | replace(' ', '_') }}_\
{{ ansible_facts['distribution_release'] | lower | replace(' ', '_') }}_\
{{ ansible_facts['distribution_major_version'] }}.yml" # centos_stream_8.yml
- "{{ (ansible_facts['distribution'] | lower) | replace(' ', '_') }}_\
{{ ansible_facts['distribution_major_version'] }}.yml" # centos_8.yml
- "{{ (ansible_facts['distribution'] | lower) | replace(' ', '_') }}.yml" # centos.yml
- "{{ ansible_facts['os_family'] | lower }}_\
{{ ansible_facts['distribution_version'] }}.yml" # redhat_8.6.yml
- "{{ ansible_facts['os_family'] | lower }}_\
{{ ansible_facts['distribution_major_version'] }}.yml" # redhat_8.yml
- "{{ ansible_facts['os_family'] | lower }}.yml" # redhat.yml
- "default.yml" # default.yml
...