1 2 3 4 5 6 7
--- - name: restart nfs server systemd: name: "{{ nfs_daemon }}" state: restarted daemon_reload: "yes" become: "yes"