mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user