Fixes for dnf and user integration tests. (#34603)

* Fix user test.
* Use `dnf` instead of `yum` in dnf test.
* Install correct version of rpmfluff for tests.
pull/34606/head
Matt Clay 7 years ago committed by GitHub
parent 70cafcdef6
commit 9599630976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -209,6 +209,6 @@
# ============================================================================
always:
- name: Clean up
yum:
dnf:
name: foo
state: absent

@ -5,6 +5,14 @@
when:
- ansible_distribution in ['RedHat']
- name: Install rpmfluff and deps
package:
name: "{{ item }}"
with_items:
- python{{ ansible_python_version.split(".")[0] }}-rpmfluff
when:
- ansible_distribution in ['Fedora']
- name: Install rpmfluff and deps
package:
name: "{{ item }}"
@ -12,6 +20,8 @@
- python-rpmfluff
- createrepo_c
- createrepo # used by el6 version of rpmfluff
when:
- ansible_distribution not in ['Fedora']
- name: Copy script for creating a repo
copy:

@ -99,6 +99,7 @@
user:
name: ansibulluser
state: absent
force: true
register: user_test2
- name: make a new list of users
script: userlist.sh "{{ ansible_distribution }}"

Loading…
Cancel
Save