mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
yum: disableexcludes is supported on centos6 (#51698)
* yum: disableexcludes is supported on centos6 * Add changelog
This commit is contained in:
parent
b682381d1d
commit
33b07f322c
3 changed files with 3 additions and 60 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue