mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix firewalld to fail with correct version numbers (#33144)
Currently it's reporting an inverted version number about the python library and it shouldn't be. Also it's currently claiming python2 as a requirement, which it is not. Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
This commit is contained in:
@@ -751,7 +751,7 @@ def main():
|
||||
|
||||
if import_failure:
|
||||
module.fail_json(
|
||||
msg='firewalld and its python 2 module are required for this module, version 2.0.11 or newer required (3.0.9 or newer for offline operations)'
|
||||
msg='firewalld and its python module are required for this module, version 0.2.11 or newer required (0.3.9 or newer for offline operations)'
|
||||
)
|
||||
|
||||
if fw_offline:
|
||||
|
||||
Reference in New Issue
Block a user