From f67e65ea2247ab8a6a83a868085ad7b81c6d3537 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Wed, 17 Jun 2020 10:55:31 +0200 Subject: [PATCH] koji: automatically remove sidetag on untagging last package Signed-off-by: Clement Verna --- roles/koji_hub/files/sidetag.conf | 3 +++ roles/koji_hub/tasks/main.yml | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 roles/koji_hub/files/sidetag.conf diff --git a/roles/koji_hub/files/sidetag.conf b/roles/koji_hub/files/sidetag.conf new file mode 100644 index 0000000000..15e0293596 --- /dev/null +++ b/roles/koji_hub/files/sidetag.conf @@ -0,0 +1,3 @@ +[sidetag] +# automatically remove sidetag on untagging last package +remove_empty = on diff --git a/roles/koji_hub/tasks/main.yml b/roles/koji_hub/tasks/main.yml index a615cf561a..f244960237 100644 --- a/roles/koji_hub/tasks/main.yml +++ b/roles/koji_hub/tasks/main.yml @@ -174,6 +174,14 @@ - koji_hub - fedora-messaging + +- name: install the configuration file for the sidetag plugin + copy: + src: sidetag.conf + dest: /etc/koji-hub/plugins/sidetag.conf + tags: + - koji_hub + # # rpmautospec plugin #