More tweaking to the buildvm tasks
This commit is contained in:
parent
0542974bab
commit
5dd9b5f4a9
2 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue