From 13bc52079c796c9c62feb17c45d7e655caa00e41 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Fri, 7 Oct 2022 14:20:28 -0400 Subject: [PATCH] 0.1.51-DEV-20221007-1 --------------------- * ADD: - support for centos 9 added --- tasks/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 0348073..a048f33 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -6,11 +6,13 @@ when: ansible_distribution == "Debian" -- name: set package and service for centos 8 +- name: set package and service for centos 8/9 set_fact: ntp_pkg : chrony ntp_service : chronyd - when: ansible_distribution_major_version == "8" + when: + - (ansible_distribution_major_version == "8" or + ansible_distribution_major_version == "9") - name: install ntp if not present