From 122398b081ca59f017d6d621cee49a564a4d93b8 Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Wed, 22 Nov 2017 01:39:06 -0600 Subject: [PATCH] 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 --- lib/ansible/modules/system/firewalld.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/system/firewalld.py b/lib/ansible/modules/system/firewalld.py index 65795ca4108..47d0ed6d189 100644 --- a/lib/ansible/modules/system/firewalld.py +++ b/lib/ansible/modules/system/firewalld.py @@ -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: