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