Fix error message being different on stable-1 than v3

This commit is contained in:
Laurent Indermuehle 2023-03-27 11:08:12 +02:00
parent 243d6b93f3
commit 666afeeae3
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -117,7 +117,9 @@
assert:
that:
- result is failed
- "'Error granting privileges' in result.msg"
- >
'Error granting privileges' in result.msg
or 'invalid privileges string' in result.msg
when: enable_check_mode == 'no'
##########