From 2b127e16169b13dd04fb740c1720aebc83aa8b3f Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 15 Apr 2018 13:28:45 -0500 Subject: [PATCH] hosts: Add zbx0.p.b to smtp-server Zabbix servers should also be SMTP relays, so as to limit the possibility for lost trigger alerts caused by outages. --- host_vars/zbx0.pyrocufflink.blue.yml | 9 +++++++++ hosts | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 host_vars/zbx0.pyrocufflink.blue.yml diff --git a/host_vars/zbx0.pyrocufflink.blue.yml b/host_vars/zbx0.pyrocufflink.blue.yml new file mode 100644 index 0000000..a64cfa3 --- /dev/null +++ b/host_vars/zbx0.pyrocufflink.blue.yml @@ -0,0 +1,9 @@ +smtp_username: zbx0.pyrocufflink.blue +smtp_password: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 33643566633437643464653839363739666133336262353331613061336330666230613130303130 + 3733363366616437636138313665313165303638656565320a346636393366633835663866386162 + 32356435383134323730333265373364363362636435656566653064336161633232306333613866 + 6235373734376633340a363835356631326566316365363264383234656631653966626265653362 + 32353030393865383032353738643234373135326136623662353632353731613965343938633336 + 6264653030343065633739303338646235663465613762633936 diff --git a/hosts b/hosts index a0caf45..63b58bb 100644 --- a/hosts +++ b/hosts @@ -54,3 +54,6 @@ zabbix-server [smtp-relay] smtp0.pyrocufflink.blue + +[smtp-relay:children] +zabbix-server