koji_builder: dnf -> package, with_item changes

This commit is contained in:
Karsten Hopp 2019-06-11 16:46:06 +02:00 committed by pingou
parent f40b0f0c30
commit e61cf74291

View file

@ -63,8 +63,9 @@
- koji_builder - koji_builder
- name: add pkgs - name: add pkgs
package: state=present pkg={{ item }} package:
with_items: state: present
name:
- koji-builder - koji-builder
- koji-builder-plugins - koji-builder-plugins
- python2-koji - python2-koji
@ -100,7 +101,7 @@
- koji_builder - koji_builder
- name: Install arm UEFI firmware package (aarch64 only) - name: Install arm UEFI firmware package (aarch64 only)
dnf: name=edk2-arm state=present package: name=edk2-arm state=present
tags: tags:
- koji_builder - koji_builder
when: "ansible_architecture is defined and ansible_architecture == 'aarch64'" when: "ansible_architecture is defined and ansible_architecture == 'aarch64'"
@ -222,18 +223,20 @@
# x86_64 builders run both x86_64 and i686 builds, that requires multilib # x86_64 builders run both x86_64 and i686 builds, that requires multilib
# version of nosync installed to fully take advantage of nosync # version of nosync installed to fully take advantage of nosync
- name: special pkgs for the x86_64 builders - name: special pkgs for the x86_64 builders
package: state=present pkg={{ item }} package:
with_items: state: present
- nosync.i686 name:
- nosync.i686
when: ansible_architecture == 'x86_64' when: ansible_architecture == 'x86_64'
tags: tags:
- koji_builder - koji_builder
# non-bkernel x86_64 builders run container_build, which needs osbs # non-bkernel x86_64 builders run container_build, which needs osbs
- name: special pkgs for the x86_64 builders - name: special pkgs for the x86_64 builders
package: state=present pkg={{ item }} package:
with_items: state: present
- python3-osbs-client.noarch name:
- python3-osbs-client.noarch
when: "ansible_architecture == 'x86_64' and not inventory_hostname.startswith('bkernel')" when: "ansible_architecture == 'x86_64' and not inventory_hostname.startswith('bkernel')"
tags: tags:
- koji_builder - koji_builder
@ -287,7 +290,7 @@
# https://pagure.io/fedora-infrastructure/issue/6636 # https://pagure.io/fedora-infrastructure/issue/6636
- name: install libkcapi to get increased sockets on armv7 - name: install libkcapi to get increased sockets on armv7
dnf: name=libkcapi enablerepo=updates-testing state=present package: name=libkcapi enablerepo=updates-testing state=present
tags: tags:
- koji_builder - koji_builder
when: ansible_architecture == 'armv7l' when: ansible_architecture == 'armv7l'