fdee5ca16d
* Add integration test * Add changelog Co-authored-by: Matt Clay <matt@mystile.com>
15 lines
310 B
YAML
15 lines
310 B
YAML
---
|
|
- name: Test cacheonly (clean before testing)
|
|
command: dnf clean all
|
|
|
|
- name: Try installing from cache where it has been cleaned
|
|
dnf:
|
|
name: sos
|
|
state: latest
|
|
cacheonly: true
|
|
register: dnf_result
|
|
|
|
- name: Verify dnf has not changed
|
|
assert:
|
|
that:
|
|
- "not dnf_result is changed"
|