mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
allow update_cache as stand alone operation for yum/dnf (#46183)
* allow update_cache as stand alone operation for yum/dnf Fixes #40068 Signed-off-by: Adam Miller <admiller@redhat.com> * make sanity tests happy Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
@@ -48,7 +48,7 @@ yumdnf_argument_spec = dict(
|
||||
lock_poll=dict(type='int', default=-1),
|
||||
lock_timeout=dict(type='int', default=10),
|
||||
),
|
||||
required_one_of=[['name', 'list']],
|
||||
required_one_of=[['name', 'list', 'update_cache']],
|
||||
mutually_exclusive=[['name', 'list']],
|
||||
supports_check_mode=True,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user