diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml index 7695064..ac663b5 100644 --- a/molecule/default/verify.yml +++ b/molecule/default/verify.yml @@ -21,3 +21,16 @@ assert: that: - "'baseurl=' not in repofile.stdout" + + - name: try to install htop from EPEL + package: + name: htop + state: latest + + - name: Gather the rpm package facts + package_facts: + manager: auto + + - name: is htop actually installed? + assert: + that: 'htop' in ansible_facts.packages diff --git a/molecule/mirror-is-set/verify.yml b/molecule/mirror-is-set/verify.yml index 438fda8..a8b6cec 100644 --- a/molecule/mirror-is-set/verify.yml +++ b/molecule/mirror-is-set/verify.yml @@ -23,3 +23,16 @@ assert: that: - "'{{ lookup('env', 'EPEL_MIRROR_URL') }}' in repofile.stdout" + + - name: try to install htop from EPEL + package: + name: htop + state: latest + + - name: Gather the rpm package facts + package_facts: + manager: auto + + - name: is htop actually installed? + assert: + that: 'htop' in ansible_facts.packages