lets try and install oz/imagefactory on s390x builders too

This commit is contained in:
Kevin Fenzi 2018-02-27 00:57:34 +00:00
parent 84994494c3
commit 11e384a8c3

View file

@ -96,34 +96,11 @@
- pykickstart - pykickstart
tags: tags:
- koji_builder - koji_builder
when: ansible_architecture != 's390x'
- name: add pkgs (s390x)
dnf: state=present pkg={{ item }}
with_items:
- yum-utils
- koji-builder
- python-osbs-client
- koji-containerbuild-builder
- strace
- mock
- kernel-firmware
- ntp
- ntpdate
- rsyslog
- audit
- pycdio
- python-kickstart
- pykickstart
tags:
- koji_builder
when: ansible_architecture == 's390x'
- name: enable virtlogd service - name: enable virtlogd service
service: name=virtlogd state=started enabled=yes service: name=virtlogd state=started enabled=yes
tags: tags:
- koji_builder - koji_builder
when: ansible_distribution_major_version|int > 23 and ansible_architecture != 's390x'
- name: build /etc/kojid/kojid.conf from group vars - name: build /etc/kojid/kojid.conf from group vars
template: src=kojid.conf dest=/etc/kojid/kojid.conf template: src=kojid.conf dest=/etc/kojid/kojid.conf
@ -168,7 +145,6 @@
copy: src={{ private }}/files/koji/config.yaml dest=/root/.psphere/config.yaml copy: src={{ private }}/files/koji/config.yaml dest=/root/.psphere/config.yaml
tags: tags:
- koji_builder - koji_builder
when: ansible_architecture != 's390x'
# done oz/imagefactory # done oz/imagefactory
- name: copy over /etc/security/limits.conf - name: copy over /etc/security/limits.conf
@ -179,7 +155,6 @@
# oz.cfg upstream ram and cpu definitions are not enough # oz.cfg upstream ram and cpu definitions are not enough
- name: oz.cfg - name: oz.cfg
copy: src=oz.cfg dest=/etc/oz/oz.cfg copy: src=oz.cfg dest=/etc/oz/oz.cfg
when: not inventory_hostname.startswith('buildvm-s390x')
tags: tags:
- koji_builder - koji_builder
@ -194,7 +169,6 @@
- restart libvirtd - restart libvirtd
tags: tags:
- koji_builder - koji_builder
when: ansible_architecture != 's390x'
# #
# On primary we want to make a /mnt/koji link to /mnt/fedora_koji/koji # On primary we want to make a /mnt/koji link to /mnt/fedora_koji/koji