Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport/2.7] assert: allow list of strings in msg or failed_msg #53311

Open
wants to merge 1 commit into
base: stable-2.7
from

Conversation

Projects
None yet
3 participants
@Akasurde
Copy link
Member

Akasurde commented Mar 5, 2019

SUMMARY

Added check for assert module for msg and failed_msg as a list or string types.

Fixes: #48547

Signed-off-by: Abhijeet Kasurde akasurde@redhat.com
(cherry picked from commit d39f35c)

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

changelogs/fragments/48547-assert-incorrect_msg_type.yml
lib/ansible/plugins/action/assert.py

[Backport/2.7] assert: allow list of strings in msg or failed_msg
Added check for assert module for msg and failed_msg as a list or string types.

Fixes: #48547

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit d39f35c)
@abadger

This comment has been minimized.

Copy link
Member

abadger commented Mar 11, 2019

In discussion about whether this or deprecation is the right way to do this.

@ansibot ansibot added the stale_ci label Mar 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.