mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
yum: disableexcludes is supported on centos6 (#51698)
* yum: disableexcludes is supported on centos6 * Add changelog
This commit is contained in:
@@ -1479,9 +1479,6 @@ class YumModule(YumDnf):
|
||||
|
||||
self.wait_for_lock()
|
||||
|
||||
if self.disable_excludes and yum.__version_info__ < (3, 4):
|
||||
self.module.fail_json(msg="'disable_includes' is available in yum version 3.4 and onwards.")
|
||||
|
||||
if error_msgs:
|
||||
self.module.fail_json(msg='. '.join(error_msgs))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user