main.yml 142 B

123456
  1. ---
  2. - name: restart nfs-server
  3. systemd:
  4. name: nfs-server
  5. state: restarted
  6. when: not (nfs_service_status_changed | default(false))