Be more specific in monit dashboard ip config

This commit is contained in:
KemoNine 2020-08-09 01:57:29 -04:00
parent c669034cda
commit fa9c652f4b
2 changed files with 2 additions and 1 deletions

View file

@ -5,6 +5,7 @@ msmtp_smtp_server: "smtp.domain.tld"
msmtp_smtp_from: "piframe@domain.tld" msmtp_smtp_from: "piframe@domain.tld"
msmtp_smtp_user: "piframe@domain.tld" msmtp_smtp_user: "piframe@domain.tld"
msmtp_smtp_password: "password" msmtp_smtp_password: "password"
monit_dashboard_address: 192.168.254.1
monit_containerized: true monit_containerized: true
monit_notification_email: "{{ msmtp_email_address }}" monit_notification_email: "{{ msmtp_email_address }}"
monit_smtp_server: "{{ msmtp_smtp_server }}" monit_smtp_server: "{{ msmtp_smtp_server }}"

View file

@ -1,6 +1,6 @@
{ {
"dispatcher": { "dispatcher": {
"url": "http://127.0.0.1:2812", "url": "http://{{ monit_dashboard_address }}:2812",
"user": "{{ monit_web_user }}", "user": "{{ monit_web_user }}",
"passwd": "{{ monit_web_pasword }}" "passwd": "{{ monit_web_pasword }}"
}{{ "," if groups['frames'] is defined and (groups['frames']|length>0) else "" }} }{{ "," if groups['frames'] is defined and (groups['frames']|length>0) else "" }}