diff --git a/tasks/koji/base_builder.yml b/tasks/koji/base_builder.yml index bf08f6aa9e..82814f7625 100644 --- a/tasks/koji/base_builder.yml +++ b/tasks/koji/base_builder.yml @@ -96,7 +96,10 @@ - name: enable nfs-related services and run them action: service name={{ item }} enabled=true state=started with_items: - - nfs + - rpcbind + - nfs-lock + - nfs-idmap + - nfs-mountd - name: route config for netapp network action: copy src="{{ files }}/kojibuilder/route-eth1" dest=/etc/sysconfig/network-scripts/route-eth1 @@ -109,7 +112,7 @@ - name: run netapp route command: /etc/sysconfig/network-scripts/ifup-routes eth1 - when: netapproute.stdout.find("10.5.88.0") != -1 + when: netapproute.stdout.find("10.5.88.0") == -1 - name: nfs mount points action: mount name=/mnt/fedora_koji src=vtap-fedora-nfs01.storage.phx2.redhat.com:/vol/fedora_koji fstype=nfs opts=ro,hard,bg,intr,noatime,nodev,nosuid passno=0 dump=0 state=mounted diff --git a/tasks/koji/builder_kernel_config.yml b/tasks/koji/builder_kernel_config.yml index a16c7ea2fc..b2b1ca31fc 100644 --- a/tasks/koji/builder_kernel_config.yml +++ b/tasks/koji/builder_kernel_config.yml @@ -9,7 +9,7 @@ - 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 + when: max_loop.stdout.find("max_loop=64") == -1 - name: special pkgs for the x86_64 builders yum: state=installed pkg={{ item }}