1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-10-23 03:46:59 +02:00

Fix blackbox smtp starttls

This commit is contained in:
s3lph 2021-02-20 22:23:46 +01:00
parent 238c1fb6db
commit 395319b813

View file

@ -126,6 +126,8 @@ modules:
{% endif -%} {% endif -%}
query_response: query_response:
- expect: "^220 .*SMTP .*$" - expect: "^220 .*SMTP .*$"
- send: "STARTTLS"
- expect: "^220.*TLS.*"
- starttls: true - starttls: true
- send: "HELO {{ blackbox_smtp_name }}" - send: "HELO {{ blackbox_smtp_name }}"
- expect: "^250 .*$" - expect: "^250 .*$"