- name: install nfs-utils package: name: nfs-utils state: present - name: restart and enable nfsmount service: name: nfsmount state: restarted enabled: true