Skip to content

Commit

Permalink
Merge pull request #173 from evrardjp/incomplete-notify-master-rx-low…
Browse files Browse the repository at this point in the history
…er-pri

fix: Remove incorrect sync_group notify_master_rx_lower_pri
  • Loading branch information
evrardjp authored Mar 4, 2021
2 parents c88704a + 1b11ad7 commit 0a56edf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
12 changes: 0 additions & 12 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
2 changes: 0 additions & 2 deletions tests/keepalived_haproxy_backup_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 0 additions & 2 deletions tests/keepalived_haproxy_master_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0a56edf

Please sign in to comment.