Adjust nfs client for rhel7

This commit is contained in:
Kevin Fenzi 2014-06-26 03:11:26 +00:00
parent a592473f41
commit 34512eb0cf

View file

@ -30,7 +30,7 @@
with_items: with_items:
- nfs-idmap - nfs-idmap
- nfs-lock - nfs-lock
when: ansible_distribution == 'Fedora' when: ansible_distribution == 'Fedora' or ansible_distribution_major_version == '7'
- name: enable nfs-related services and run them (rhel) - name: enable nfs-related services and run them (rhel)
action: service name={{ item }} enabled=true state=started action: service name={{ item }} enabled=true state=started
@ -39,7 +39,7 @@
- rpcbind - rpcbind
- nfs - nfs
- nfslock - nfslock
when: ansible_distribution == 'RedHat' when: ansible_distribution == 'RedHat' and ansible_distribution_major_version == '6'
- name: nfs mount points (phx2) - name: nfs mount points (phx2)
mount: > mount: >