From b717e8314cad0d965c0613ab7ef8432588f31091 Mon Sep 17 00:00:00 2001 From: Arjan Oosting Date: Wed, 27 Sep 2023 13:23:07 +0200 Subject: [PATCH 1/2] Also support AlmaLinux --- tasks/main-tasks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main-tasks.yml b/tasks/main-tasks.yml index 2ce3c19..131ced1 100644 --- a/tasks/main-tasks.yml +++ b/tasks/main-tasks.yml @@ -3,11 +3,11 @@ # etckeeper do not seem to need anything from the Powertools repo but keep # that in mind for proper EPEL repo activation, per # https://docs.fedoraproject.org/en-US/epel/#_quickstart -- name: CentOS or Rocky - Install EPEL repo +- name: CentOS, Rocky or AlmaLinux - Install EPEL repo package: name: epel-release state: present - when: (ansible_distribution == 'CentOS') or (ansible_distribution == 'Rocky') + when: ansible_distribution in ['CentOS', 'Rocky', 'AlmaLinux'] # On debian, installing the etckeeper package seems to put /etc # under version control immediately. From a283fb929d7c993aded249f9ba4a7a5657b13986 Mon Sep 17 00:00:00 2001 From: Arjan Oosting Date: Wed, 29 May 2024 10:02:43 +0200 Subject: [PATCH 2/2] replace include with include_tasks as include is removed from ansibe_core --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 181ce26..879249a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,3 +1,3 @@ --- -- include: main-tasks.yml +- include_tasks: main-tasks.yml tags: etckeeper