nfs/client: looks like nfs-lock is not present in RHEL8
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
7acddaeca5
commit
a0303f2557
1 changed files with 9 additions and 2 deletions
|
@ -56,15 +56,22 @@
|
|||
tags:
|
||||
- nfs/client
|
||||
|
||||
- name: enable nfs-related services and run them (rhel 7+ and Fedora)
|
||||
- name: enable rpcbind services and run them (rhel 7+ and Fedora)
|
||||
service: name={{ item }} enabled=true state=started
|
||||
with_items:
|
||||
- rpcbind
|
||||
- nfs-lock
|
||||
when: ansible_distribution_major_version|int >= 7 and ansible_distribution == 'RedHat'
|
||||
tags:
|
||||
- nfs/client
|
||||
|
||||
- name: enable nfs-lock service and run them (rhel 7 and Fedora)
|
||||
service: name={{ item }} enabled=true state=started
|
||||
with_items:
|
||||
- nfs-lock
|
||||
when: ansible_distribution_major_version|int == 7 and ansible_distribution == 'RedHat'
|
||||
tags:
|
||||
- nfs/client
|
||||
|
||||
- name: enable nfs-related services and run them (rhel6)
|
||||
service: name={{ item }} enabled=true state=started
|
||||
with_items:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue