Skip to content

Commit

Permalink
Use monitoring_server_hostname to set alertmanager external url
Browse files Browse the repository at this point in the history
  • Loading branch information
drmatthews committed Jan 3, 2024
1 parent cf264d2 commit 69fdd27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/monitoring_server/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ monitoring_server_alertmanager:
external_data_dir: "{{ monitoring_server_storage_root }}/alertmanager"
volume: /alertmanager
commandline_args:
web.external-url: "https://{{ ansible_host }}/alertmanager/"
web.external-url: "https://{{ monitoring_server_hostname }}/alertmanager/"
storage.path: /alertmanager/data
config.file: /alertmanager/alertmanager.yml

Expand Down

0 comments on commit 69fdd27

Please sign in to comment.