From 2fe0d252774bb12b6e1f34a1fc8f3ec06a11de5e Mon Sep 17 00:00:00 2001 From: Tom David--Broglio Date: Thu, 7 Mar 2024 15:47:39 +0100 Subject: [PATCH] correction tasks keepalived --- CHANGELOG.md | 1 + keepalived/tasks/main.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c623801..19caa254 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ The **patch** part is incremented if multiple releases happen the same month ### Fixed * certbot: Fix HAProxy renewal hook +* keepalived: Fix tasks that use file instead of copy ### Removed diff --git a/keepalived/tasks/main.yml b/keepalived/tasks/main.yml index 30f9557a..3f436d0e 100644 --- a/keepalived/tasks/main.yml +++ b/keepalived/tasks/main.yml @@ -8,7 +8,7 @@ - keepalived - name: Add notify.sh script for NRPE check - ansible.builtin.file: + ansible.builtin.copy: src: notify.sh dest: /etc/keepalived/notify.sh mode: "0755" @@ -21,7 +21,7 @@ - nrpe - name: check_keepalived is installed - ansible.builtin.file: + ansible.builtin.copy: src: check_keepalived dest: /usr/local/lib/nagios/plugins/check_keepalived mode: "0755"