summaryrefslogtreecommitdiffstats
path: root/roles/releng/tasks
diff options
context:
space:
mode:
authorAdam Williamson <awilliam@redhat.com>2016-11-21 19:36:49 -0800
committerAdam Williamson <awilliam@redhat.com>2016-11-23 09:21:45 -0800
commit2e09ca2d007153e02526075bc414e05079e913d3 (patch)
tree8c9222c47559fb71ee5a8c7aa96ec1923fca21f9 /roles/releng/tasks
parent49dd063d22ffa273f077753023625a3fafdd554a (diff)
downloadansible-2e09ca2d007153e02526075bc414e05079e913d3.tar.gz
ansible-2e09ca2d007153e02526075bc414e05079e913d3.tar.xz
ansible-2e09ca2d007153e02526075bc414e05079e913d3.zip
turn 'filterlist' into 'imagelist', using productmd
This adopts https://pagure.io/quick-fedora-mirror/pull-request/27 and adapts to it, so we get `imagelist` files rather than `filterlist` files (see recent commits for this). The rationale is more fully explained in that PR (and in PR #26 also) - on further inspection it turns out that we have to filter out an awful lot of extensions to create small filterlists for all three modules, and I'm worried that other file extensions may appear in the future and cause the filterlists to suddenly get bigger again. Instead, we have create-filelist use the productmd constant that defines valid image formats, and only include files that match those formats in the list. The downside of this approach is we have to ensure productmd on all the systems that run `create-filelist` is kept up to date if the list of valid image formats changes.
Diffstat (limited to 'roles/releng/tasks')
-rw-r--r--roles/releng/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/releng/tasks/main.yml b/roles/releng/tasks/main.yml
index d02fbeae8..f85ebd217 100644
--- a/roles/releng/tasks/main.yml
+++ b/roles/releng/tasks/main.yml
@@ -117,6 +117,7 @@
- pungi
- compose-utils
- python-scandir
+ - python2-productmd
when: ansible_distribution_major_version|int > 21
# add sigul to secondary arch compose boxes