mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
[PR #5996/24efe9ee backport][stable-6] Normalize bools in tests (#5997)
Normalize bools in tests (#5996)
* Normalize bools in tests.
* Fix typo.
(cherry picked from commit 24efe9ee9a)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
pip:
|
||||
name: smtpd-tls
|
||||
state: present
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
register: smtpd_tls
|
||||
|
||||
- name: Install test smtpserver
|
||||
@@ -70,7 +70,7 @@
|
||||
body: Test body 4
|
||||
attach: /etc/group
|
||||
secure: starttls
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
register: starttls_support
|
||||
|
||||
# NOTE: This might fail if smtpd-tls is missing or python 2.7.8 or older is used
|
||||
@@ -83,7 +83,7 @@
|
||||
body: Test body 5
|
||||
attach: /etc/group
|
||||
secure: always
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
register: tls_support
|
||||
|
||||
- fail:
|
||||
|
||||
Reference in New Issue
Block a user