-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
Invalid options for assert: success_msg #47030
Conversation
4b69a80
to
494fbe5
Compare
Hi @quater, thank you for submitting this pull-request! |
@quater Thanks for the pull request. Could you please use |
@Akasurde Initially I had this PR pointing to the Stable-2.7 branch but I then changed it to the devel base branch within 20 minutes of having created this PR. It appears that this didn't trigger a new CI test run. Can you trigger a test manually please? |
@quater I see merge conflict errors in https://app.shippable.com/github/ansible/ansible/runs/88515/1/console, I think you need to create PR with devel as base branch rather than |
494fbe5
to
b6cc6bd
Compare
@Akasurde I corrected it now. It should be good to go. |
LGTM, need another pair of eye to take a look. |
(cherry picked from commit 0661f2f)
SUMMARY
With Ansible 2.7, the assert module was enhanced with the success message. See module documentation at https://docs.ansible.com/ansible/2.7/modules/assert_module.html. The below example task fails with the error: Invalid options for assert: success_msg
ISSUE TYPE
COMPONENT NAME
assert
ANSIBLE VERSION
STEPS TO REPRODUCE
EXPECTED RESULTS
It should accept the
success_msg
parameterACTUAL RESULTS