Set hostname on builders, drop old f22 packages, pull in python-osbs or else dnf pulls in python3-osbs.
This commit is contained in:
parent
c87ee24ffb
commit
7ee66a3428
1 changed files with 6 additions and 31 deletions
|
@ -1,6 +1,11 @@
|
||||||
#
|
#
|
||||||
# This is a base koji_builder role.
|
# This is a base koji_builder role.
|
||||||
#
|
#
|
||||||
|
- name: set hostname
|
||||||
|
hostname: name="{{inventory_hostname}}"
|
||||||
|
tags:
|
||||||
|
- koji_builder
|
||||||
|
|
||||||
- name: set root passwd
|
- name: set root passwd
|
||||||
user: name=root password={{ builder_rootpw }} state=present
|
user: name=root password={{ builder_rootpw }} state=present
|
||||||
tags:
|
tags:
|
||||||
|
@ -57,41 +62,12 @@
|
||||||
tags:
|
tags:
|
||||||
- koji_builder
|
- koji_builder
|
||||||
|
|
||||||
- name: add pkgs
|
|
||||||
yum: state=present pkg={{ item }}
|
|
||||||
with_items:
|
|
||||||
- yum-utils
|
|
||||||
- koji-builder
|
|
||||||
- koji-containerbuild-builder
|
|
||||||
- strace
|
|
||||||
- mock
|
|
||||||
- kernel-firmware
|
|
||||||
- ntp
|
|
||||||
- ntpdate
|
|
||||||
- rsyslog
|
|
||||||
- audit
|
|
||||||
- oz
|
|
||||||
- imagefactory
|
|
||||||
- imagefactory-plugins-TinMan
|
|
||||||
- imagefactory-plugins-Docker
|
|
||||||
- imagefactory-plugins-vSphere
|
|
||||||
- imagefactory-plugins-ovfcommon
|
|
||||||
- imagefactory-plugins
|
|
||||||
- imagefactory-plugins-OVA
|
|
||||||
- imagefactory-plugins-EC2
|
|
||||||
- imagefactory-plugins-RHEVM
|
|
||||||
- python-psphere
|
|
||||||
- VMDKstream
|
|
||||||
- pykickstart
|
|
||||||
tags:
|
|
||||||
- koji_builder
|
|
||||||
when: ansible_distribution_major_version|int < 22
|
|
||||||
|
|
||||||
- name: add pkgs
|
- name: add pkgs
|
||||||
dnf: state=present pkg={{ item }}
|
dnf: state=present pkg={{ item }}
|
||||||
with_items:
|
with_items:
|
||||||
- yum-utils
|
- yum-utils
|
||||||
- koji-builder
|
- koji-builder
|
||||||
|
- python-osbs
|
||||||
- koji-containerbuild-builder
|
- koji-containerbuild-builder
|
||||||
- strace
|
- strace
|
||||||
- mock
|
- mock
|
||||||
|
@ -117,7 +93,6 @@
|
||||||
- pykickstart
|
- pykickstart
|
||||||
tags:
|
tags:
|
||||||
- koji_builder
|
- koji_builder
|
||||||
when: ansible_distribution_major_version|int > 21
|
|
||||||
|
|
||||||
- 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue