From 6324505656ab351f6b3e89c3c92bd8c7ccf65beb Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 17 Aug 2018 03:18:27 +0000 Subject: [PATCH] Install osbs client on builders where needed Signed-off-by: Patrick Uiterwijk --- roles/koji_builder/tasks/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roles/koji_builder/tasks/main.yml b/roles/koji_builder/tasks/main.yml index 5392290d05..90efdcacee 100644 --- a/roles/koji_builder/tasks/main.yml +++ b/roles/koji_builder/tasks/main.yml @@ -214,6 +214,16 @@ tags: - koji_builder +# non-bkernel x86_64 builders run container_build, which needs osbs +- name: special pkgs for the x86_64 builders + package: state=present pkg={{ item }} + with_items: + - python2-osbs-client.noarch + - python3-osbs-client.noarch + when: "ansible_architecture == 'x86_64' and not ansible_inventory_hostname.startswith('bkernel')" + tags: + - koji_builder + # Before, the builders had the "apache" role. This is a temporary play to remove the httpd daemon everywhere - name: Uninstall httpd package: name=httpd