From 90ca6be7fd5311937ceb8ae5a860517db4f65d9b Mon Sep 17 00:00:00 2001 From: Sheppy Date: Thu, 29 Dec 2022 01:47:15 +0100 Subject: [PATCH] workaround: hardcode internal ip for transparent ports --- roles/monitoring-client/tasks/main.yaml | 3 ++- .../files/services_passive_mail_extern.conf | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/roles/monitoring-client/tasks/main.yaml b/roles/monitoring-client/tasks/main.yaml index b09b897..4d0af67 100644 --- a/roles/monitoring-client/tasks/main.yaml +++ b/roles/monitoring-client/tasks/main.yaml @@ -47,7 +47,8 @@ command: dpkg -s postgresql register: postgresql_installed ignore_errors: true - changed_when: False + changed_when: false + failed_when: false check_mode: no - name: Set has_postgres variable diff --git a/roles/monitoring-master/files/services_passive_mail_extern.conf b/roles/monitoring-master/files/services_passive_mail_extern.conf index af36d7d..16a2045 100644 --- a/roles/monitoring-master/files/services_passive_mail_extern.conf +++ b/roles/monitoring-master/files/services_passive_mail_extern.conf @@ -1,15 +1,15 @@ apply Service "MAIL-postfix-tls" { import "generic-service" check_command = "ssl" - vars.ssl_address = "mail.atlantishq.de" - vars.ssl_port = "587" + vars.ssl_address = "192.168.122.101" + vars.ssl_port = "465" assign where host.name == "mail" } apply Service "IMAP-dovecot-tls" { import "generic-service" check_command = "ssl" - vars.ssl_address = "mail.atlantishq.de" + vars.ssl_address = "192.168.122.101" vars.ssl_port = "993" assign where host.name == "mail" }