mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-28 03:49:09 -07: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:
parent
960dfa862b
commit
c8ed5c29e9
4 changed files with 49 additions and 3 deletions
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue