--- - name: restart nfs server systemd: name: "{{ nfs_daemon }}" state: restarted daemon_reload: "yes" become: "yes"