mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 20:31:27 -07:00
fixed conditional error message (#36476)
This commit is contained in:
parent
77b903bd85
commit
f207897f32
16 changed files with 16 additions and 16 deletions
|
@ -371,7 +371,7 @@ def main():
|
|||
if port and port not in have_port:
|
||||
failed_conditions.append('port ' + port)
|
||||
if failed_conditions:
|
||||
msg = 'One or more conditional statements have not be satisfied'
|
||||
msg = 'One or more conditional statements have not been satisfied'
|
||||
module.fail_json(msg=msg, failed_conditions=failed_conditions)
|
||||
|
||||
module.exit_json(**result)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue