Skip to content
This repository was archived by the owner on Nov 12, 2023. It is now read-only.

Commit a07f7e4

Browse files
committed
vars: add support for new OSes from redhat family
1 parent 6a8e925 commit a07f7e4

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

tasks/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
- name: Gather variables for each operating system
33
include_vars: "{{ item }}"
44
with_first_found:
5+
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_version | lower }}.yml"
6+
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
7+
- "{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
8+
- "{{ ansible_distribution_file_variety | lower }}.yml"
59
- "{{ ansible_distribution | lower }}.yml"
610
- "{{ ansible_os_family | lower }}.yml"
711
tags:

vars/redhat-7.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
pushgateway_dependencies:
3+
- libselinux-python
4+
- policycoreutils-python

vars/redhat.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
pushgateway_dependencies:
3-
- libselinux-python
4-
- policycoreutils-python
3+
- python3-libselinux
4+
- python3-policycoreutils

0 commit comments

Comments
 (0)