Skip to content

Commit

Permalink
Allow setting EFM detach.on.agent.failure property. (#629)
Browse files Browse the repository at this point in the history
Keeping the default as true.
  • Loading branch information
Ianvdl authored Apr 30, 2024
1 parent d65d378 commit 2c2a155
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/setup_efm/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ pcp_passfile_owner: "efm"
pcp_passfile_group: "efm"
pcp_passfile_mode: "0600"
pgpool2_pcp_port: 9898
detach_on_agent_failure: true
efm_pgpool2_lb_attach: "{{ efm_bin_path }}/pcp_attach_all.sh %h %t"
efm_pgpool2_lb_detach: ""

Expand Down
1 change: 1 addition & 0 deletions roles/setup_efm/tasks/efm_configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
- {name: custom.monitor.interval, value: "5"}
- {name: custom.monitor.safe.mode, value: "true"}
- {name: custom.monitor.timeout, value: "10"}
- {name: detach.on.agent.failure, value: "{{ detach_on_agent_failure }}"}
- {name: pgpool.enable, value: "{{ efm_pgpool2_integration | lower }}"}
- {name: pgpool.bin, value: "{{ pgpool2_bin_path }}"}
- {name: pcp.user, value: "{{ pcp_admin_user }}"}
Expand Down

0 comments on commit 2c2a155

Please sign in to comment.