title: Restart service when service file changes when using Ansible
body: <p>I am creating a systemd service using <code>template</code> module</p>
  
  <pre><code>---
  - name: Systemd service
    template:
      src: sonar.unit.j2
      dest: /etc/systemd/system/sonarqube.service
    when: "ansible_service_mgr == 'systemd'" 
  </code></pre>
  
  <p>The contents of the sonarqube.service can change of course. On change I want to restart the service. How can I do this?</p>