Adjust nfs client for rhel7
This commit is contained in:
parent
a592473f41
commit
34512eb0cf
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@
|
|||
with_items:
|
||||
- nfs-idmap
|
||||
- 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)
|
||||
action: service name={{ item }} enabled=true state=started
|
||||
|
@ -39,7 +39,7 @@
|
|||
- rpcbind
|
||||
- nfs
|
||||
- nfslock
|
||||
when: ansible_distribution == 'RedHat'
|
||||
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version == '6'
|
||||
|
||||
- name: nfs mount points (phx2)
|
||||
mount: >
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue