mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
don't restrict disable_excludes choices incorrectly (#47453)
* don't restrict disable_excludes choices incorrectly Fixes #47085 Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
fb2e838a42
commit
0e3e646189
4 changed files with 4 additions and 3 deletions
3
changelogs/fragments/dnfyum-disable-excludes.yaml
Normal file
3
changelogs/fragments/dnfyum-disable-excludes.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
minor_changes:
|
||||
- "dnf appropriately handles disable_excludes repoid argument"
|
|
@ -24,7 +24,7 @@ yumdnf_argument_spec = dict(
|
|||
autoremove=dict(type='bool', default=False),
|
||||
bugfix=dict(required=False, type='bool', default=False),
|
||||
conf_file=dict(type='str'),
|
||||
disable_excludes=dict(type='str', default=None, choices=['all', 'main', 'repoid']),
|
||||
disable_excludes=dict(type='str', default=None),
|
||||
disable_gpg_check=dict(type='bool', default=False),
|
||||
disable_plugin=dict(type='list', default=[]),
|
||||
disablerepo=dict(type='list', default=[]),
|
||||
|
|
|
@ -142,7 +142,6 @@ options:
|
|||
- If set to C(all), disables all excludes.
|
||||
- If set to C(main), disable excludes defined in [main] in yum.conf.
|
||||
- If set to C(repoid), disable excludes defined for given repo id.
|
||||
choices: [ all, main, repoid ]
|
||||
version_added: "2.7"
|
||||
validate_certs:
|
||||
description:
|
||||
|
|
|
@ -175,7 +175,6 @@ options:
|
|||
- If set to C(all), disables all excludes.
|
||||
- If set to C(main), disable excludes defined in [main] in yum.conf.
|
||||
- If set to C(repoid), disable excludes defined for given repo id.
|
||||
choices: [ all, main, repoid ]
|
||||
version_added: "2.7"
|
||||
download_only:
|
||||
description:
|
||||
|
|
Loading…
Reference in a new issue