Make this task work with rhel and fedora releng hosts.

This commit is contained in:
Kevin Fenzi 2014-05-16 15:27:40 +00:00
parent e01a829c2d
commit 061b5eb734

View file

@ -109,11 +109,21 @@
tags:
- configs
- name: enable nfs-related services and run them
- name: enable nfs-related services and run them (fedora)
action: service name={{ item }} enabled=true state=started
with_items:
- nfs-idmapd
- nfs-lock
when: ansible_distribution == 'Fedora'
- name: enable nfs-related services and run them (rhel)
action: service name={{ item }} enabled=true state=started
with_items:
- rpcidmapd
- rpcbind
- nfs
- nfslock
when: ansible_distribution == 'RedHat'
- name: route to netapp network
action: copy src="{{ files }}/../roles/koji_builder/files/route-eth1" dest=/etc/sysconfig/network-scripts/route-eth1