diff --git a/roles/nfs/client/tasks/main.yml b/roles/nfs/client/tasks/main.yml index 2c6f9a8588..2c7fce782a 100644 --- a/roles/nfs/client/tasks/main.yml +++ b/roles/nfs/client/tasks/main.yml @@ -40,7 +40,7 @@ - name: enable nfs-related services and run them (rhel7) service: name={{ item }} enabled=true state=started with_items: - - rpc-statd + - nfs-lock when: ansible_distribution == 'RedHat' and ansible_distribution_major_version == '7' - name: enable nfs-related services and run them (rhel6)