From 42e03a1ab7ecbf1b00a5b451de53bba41031cd3c Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 7 Apr 2014 18:20:37 +0000 Subject: [PATCH] Don't install oz on ppc builders. --- roles/koji_builder/tasks/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/koji_builder/tasks/main.yml b/roles/koji_builder/tasks/main.yml index 929dcc19b1..443a9c6e15 100644 --- a/roles/koji_builder/tasks/main.yml +++ b/roles/koji_builder/tasks/main.yml @@ -57,6 +57,10 @@ - ntpdate - rsyslog - audit + +- name: add oz/imagefctory pkgs on x86 and arm only. + yum: state=installed pkg={{ item }} + with_items: - oz - imagefactory - imagefactory-plugins-TinMan @@ -69,7 +73,7 @@ - python-psphere - VMDKstream - pykickstart - + when: ansible_architecture != 'ppc64' - name: /etc/kojid/kojid.conf copy: src=kojid.conf dest=/etc/kojid/kojid.conf