diff --git a/roles/nfs/client/tasks/main.yml b/roles/nfs/client/tasks/main.yml index 38e03bf1df..c701fa9810 100644 --- a/roles/nfs/client/tasks/main.yml +++ b/roles/nfs/client/tasks/main.yml @@ -26,9 +26,9 @@ - rpcbind - name: enable nfs-related services and run them (fedora) - action: service name={{ item }} enabled=true state=started + service: name={{ item }} enabled=true state=started with_items: - - nfs-lock + - rpc-statd when: ansible_distribution == 'Fedora' or ansible_distribution_major_version == '7' - name: enable nfs-related services and run them (rhel)