Skip to content

Commit 2246e3d

Browse files
committed
allow RedHat-Systems
1 parent d47db7c commit 2246e3d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If you use the zabbix monitoring profile you will need the role [ansible-zabbix-
2323

2424
## OS Family
2525

26-
This role is available for Debian
26+
This role is available for Debian-like and RedHat-like Distros
2727

2828
## Features
2929

tasks/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
- name: Check role availability
1616
fail:
17-
msg: 'This module only works on Debian or derivatives like Ubuntu'
18-
when: ansible_os_family != 'Debian'
17+
msg: 'This module only works on Debian, RHEL, or their derivatives like Ubuntu, CentOS'
18+
when: ansible_os_family not in ['Debian', 'RedHat']
1919
tags: ['always']
2020

2121
- name: Import init tasks

0 commit comments

Comments
 (0)