From 765220ff4cf6069bbb481606405eea89c41ca730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Wed, 20 May 2020 09:06:51 +0000 Subject: [PATCH] Only run CentOS tasks when on that distribution Closes #110 --- tasks/setup-RedHat.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/setup-RedHat.yml b/tasks/setup-RedHat.yml index f60ea15..99f7807 100644 --- a/tasks/setup-RedHat.yml +++ b/tasks/setup-RedHat.yml @@ -18,3 +18,4 @@ when: - ansible_os_family == 'RedHat' - ansible_distribution_major_version | int >= 8 + - ansible_distribution == "CentOS"