Kaynağa Gözat

ansible-playbooks/forward.yml: send test mail to ssl-tools.net

Fabian Peter Hammerle 4 yıl önce
ebeveyn
işleme
10fcb3a09f
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5 0
      ansible-playbooks/forward.yml

+ 5 - 0
ansible-playbooks/forward.yml

@@ -141,3 +141,8 @@
       published_ports: ['25:25']
       restart_policy: unless-stopped
       restart: '{{ config.changed or virtual_alias_map.changed or smtpd_cert.changed }}'
+  - name: send test mail
+    command: docker exec postfix sendmail check@ssl-tools.net
+  - name: ssl-tools test url
+    debug:
+      msg: 'https://ssl-tools.net/mailservers/{{ hostname }}'