From 73dfbccaddc7b0052b20296ceabadb9e4d97ac13 Mon Sep 17 00:00:00 2001 From: Mario Jansen Date: Fri, 3 Mar 2023 15:41:09 +0100 Subject: [PATCH] Add support for rockylinux --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index aca0cb3..a4a3220 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -6,7 +6,7 @@ - name: install unbound for RedHat OS family yum: name=unbound state={{ unbound_pkg_state }} - when: ansible_os_family == 'RedHat' and unbound_only_zones == false + when: (ansible_os_family == 'RedHat' or ansible_os_family == 'Rocky')and unbound_only_zones == false tags: ["packages","unbound"] - name: Ensure zones folder exist