mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-27 12:03:38 +08:00
19 lines
562 B
YAML
19 lines
562 B
YAML
#- 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'
|