Pull builder kernel task into koji_builder role.

This commit is contained in:
Kevin Fenzi 2014-02-06 16:57:18 +00:00
parent 417471d978
commit d2ea2b1e63
3 changed files with 33 additions and 38 deletions

View file

@ -1,18 +0,0 @@
#- name: set kernel params for loopback partitioning
# action: command /sbin/grubby --update-kernel=ALL --args=loop.max_part=256
#
- name: check for max_loop
command: cat /etc/grub2.cfg
register: max_loop
always_run: yes
changed_when: '1 != 1'
- name: set kernel params for more loops
action: command /sbin/grubby --update-kernel=ALL --args=max_loop=64
when: max_loop.stdout.find("max_loop=64") == -1
- name: special pkgs for the x86_64 builders
yum: state=installed pkg={{ item }}
with_items:
- kmod-hfsplus
when: is_rhel == 'True'