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>
pull/47535/head
Adam Miller 6 years ago committed by GitHub
parent fb2e838a42
commit 0e3e646189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save