summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Elrod <rick@elrod.me>2021-02-05 16:37:24 -0500
committerGitHub <noreply@github.com>2021-02-05 15:37:24 -0600
commitce801e8a69fba307d2f55a52abe8931042136c83 (patch)
tree322a335ab09418cedd34a9a74d5b39f62279f8de
parent0785772a03470fd2879d2f613520284997dc9dd0 (diff)
downloadansible-ce801e8a69fba307d2f55a52abe8931042136c83.tar.gz
[setup_rpm_repo test] Ensure rpm-build is present (#73516) (#73519)
Change: - Other targets might remove rpm-build as they clean up after themselves. Ensure that it's present in setup_rpm_repo because rpmfluff needs it. Test Plan: - Local experimentation with yum_repository and mysql_db (the latter of which depends on a handler which was removing rpm-build) on stable-2.9. Signed-off-by: Rick Elrod <rick@elrod.me> (cherry picked from commit aca5b0e43be4d7bd067abc6631978b1cdfa75d84)
-rw-r--r--test/integration/targets/setup_rpm_repo/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/targets/setup_rpm_repo/tasks/main.yml b/test/integration/targets/setup_rpm_repo/tasks/main.yml
index 67a9ac0a10..b8c6908d81 100644
--- a/test/integration/targets/setup_rpm_repo/tasks/main.yml
+++ b/test/integration/targets/setup_rpm_repo/tasks/main.yml
@@ -12,6 +12,7 @@
with_items:
- python{{ ansible_python_version.split(".")[0] }}-rpmfluff
- createrepo
+ - rpm-build
when:
- ansible_distribution in ['Fedora']
@@ -19,6 +20,7 @@
package:
name: "{{ item }}"
with_items:
+ - rpm-build
- python-rpmfluff
- createrepo_c
- createrepo # used by el6 version of rpmfluff
@@ -30,6 +32,7 @@
package:
name: "{{ item }}"
with_items:
+ - rpm-build
- python3-rpmfluff
- createrepo_c
- createrepo # used by el6 version of rpmfluff