From 1b11ad7f9592fa0ead71907973c982b506e75653 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Thu, 4 Mar 2021 09:50:00 +0100 Subject: [PATCH] fix: Remove incorrect sync_group notify_master_rx_lower_pri The previous patch removed the incorrect templating, but didn't remove the scripts and the examples in the documentation. This should fix it. --- tasks/main.yml | 12 ------------ tests/keepalived_haproxy_backup_example.yml | 2 -- tests/keepalived_haproxy_master_example.yml | 2 -- 3 files changed, 16 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 9230b0c..06b22e5 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -134,18 +134,6 @@ notify: - reload keepalived -- name: Dropping the notification scripts for lower priority master case - copy: - src: "{{ item.value.src_notify_master_rx_lower_pri }}" - dest: "{{ item.value.notify_master_rx_lower_pri }}" - mode: "0755" - with_dict: "{{ keepalived_sync_groups }}" - when: item.value.src_notify_master_rx_lower_pri is defined - tags: - - keepalived-config - notify: - - reload keepalived - - name: Dropping the notification scripts for switching to backup copy: src: "{{ item.value.src_notify_backup }}" diff --git a/tests/keepalived_haproxy_backup_example.yml b/tests/keepalived_haproxy_backup_example.yml index a6a9b57..9ac72f1 100644 --- a/tests/keepalived_haproxy_backup_example.yml +++ b/tests/keepalived_haproxy_backup_example.yml @@ -34,8 +34,6 @@ keepalived_sync_groups: # Their deployment and configuration are like the notify_script #notify_master: #src_notify_master: - #notify_master_rx_lower_pri: - #src_notify_master_rx_lower_pri: #notify_backup: #src_notify_backup: #notify_fault: diff --git a/tests/keepalived_haproxy_master_example.yml b/tests/keepalived_haproxy_master_example.yml index 0b6a99b..4fcf87d 100644 --- a/tests/keepalived_haproxy_master_example.yml +++ b/tests/keepalived_haproxy_master_example.yml @@ -34,8 +34,6 @@ keepalived_sync_groups: # Their deployment and configuration are like the notify_script #notify_master: #src_notify_master: - #notify_master_rx_lower_pri: - #src_notify_master_rx_lower_pri: #notify_backup: #src_notify_backup: #notify_fault: