yum/dnf: check type of elements in a name (#70072)

pull/70091/head
Martin Krizek 4 years ago committed by GitHub
parent 8a88b845ce
commit 843751a00d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
bugfixes:
- yum/dnf - check type of elements in a name

@ -37,7 +37,7 @@ yumdnf_argument_spec = dict(
install_repoquery=dict(type='bool', default=True),
install_weak_deps=dict(type='bool', default=True),
list=dict(type='str'),
name=dict(type='list', aliases=['pkg'], default=[]),
name=dict(type='list', elements='str', aliases=['pkg'], default=[]),
releasever=dict(default=None),
security=dict(type='bool', default=False),
skip_broken=dict(type='bool', default=False),

@ -28,6 +28,8 @@ options:
required: true
aliases:
- pkg
type: list
elements: str
list:
description:

@ -38,6 +38,8 @@ options:
- You can also pass a url or a local path to a rpm file (using state=present).
To operate on several packages this can accept a comma separated string of packages or (as of 2.0) a list of packages.
aliases: [ pkg ]
type: list
elements: str
exclude:
description:
- Package name(s) to exclude when state=present, or latest

Loading…
Cancel
Save