title: Ansible module: should I configure using systemd or service?
body: <p>I want to configure the following linux command using Ansible:</p>
  
  <pre><code>sudo systemctl enable XXX.service
  </code></pre>
  
  <p>should I use: </p>
  
  <pre><code>systemd:
    name: XXX.service
    enabled: yes
  </code></pre>
  
  <p>or </p>
  
  <pre><code>service:
    name: XXX.service
    enabled: yes
  </code></pre>
  
  <p>And what are the difference among using systemctl, systemd and service?</p>