소스 검색

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

Fabian Peter Hammerle 4 년 전
부모
커밋
10fcb3a09f
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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 }}'