mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
parent
334b291720
commit
f51a6ea832
2 changed files with 27 additions and 1 deletions
|
@ -229,6 +229,23 @@
|
|||
name: empty
|
||||
state: removed
|
||||
|
||||
- name: extract from rpm
|
||||
zypper:
|
||||
name: "{{ output_dir | expanduser }}/zypper2/rpm-build/noarch/empty-1-0.noarch.rpm"
|
||||
state: installed
|
||||
disable_gpg_check: yes
|
||||
extra_args_precommand: --root {{ output_dir | expanduser }}/testdir/
|
||||
|
||||
- name: check that dir var is exist
|
||||
stat: path={{ output_dir | expanduser }}/testdir/var
|
||||
register: stat_result
|
||||
|
||||
- name: check that we extract rpm package in testdir folder and folder var is exist
|
||||
assert:
|
||||
that:
|
||||
- "stat_result.stat.exists == true"
|
||||
|
||||
|
||||
# test simultaneous remove and install using +- prefixes
|
||||
|
||||
- name: install hello to prep next task
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue