1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-11-22 17:51:01 +01: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 .*$"