Move the netapp storage route to a handler

This commit is contained in:
Kevin Fenzi 2013-11-18 20:32:28 +00:00
parent 01869f4cdb
commit abd631df2b
3 changed files with 6 additions and 7 deletions

View file

@ -86,4 +86,5 @@
- name: restart xinetd
action: service name=xinetd state=restarted
- name: restart netapproute
action: command /etc/sysconfig/network-scripts/ifup-routes eth1

View file

@ -107,9 +107,8 @@
- name: route config for netapp network
action: copy src=$files/kojibuilder/route-eth1 dest=/etc/sysconfig/network-scripts/route-eth1
- name: add netapp network route
action: command /etc/sysconfig/network-scripts/ifup-routes eth1
notify:
- restart netapproute
- 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

View file

@ -124,9 +124,8 @@
- name: route to netapp network
action: copy src=$files/kojibuilder/route-eth1 dest=/etc/sysconfig/network-scripts/route-eth1
- name: add netapp network route
action: command /etc/sysconfig/network-scripts/ifup-routes eth1
notify:
- restart netapproute
- name: nfsmount - /pub/fedora
action: mount name=/pub/fedora src=vtap-fedora-nfs01.storage.phx2.redhat.com:/vol/fedora_ftp/fedora.redhat.com/pub/fedora fstype=nfs opts=rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=3 passno=0 dump=0 state=mounted