<h5 dir="auto">Issue Type:</h5>
<p dir="auto">Bug Report</p>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">1.8-devel only</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">What OS are you running Ansible from: Ubuntu 14.04</p>
<p dir="auto">What OS are you managing?  Centos 6</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">this commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/e294e31fd3e083cbf19e26fd551ed4f7e2f38e37/hovercard" href="https://github.com/ansible/ansible/commit/e294e31fd3e083cbf19e26fd551ed4f7e2f38e37"><tt>e294e31</tt></a> seems to cause,</p>
<p dir="auto"><code class="notranslate">service: name=example-service state=started changed=yes</code></p>
<p dir="auto">always returns <code class="notranslate">changed</code>. The same task before this commit don't report changed.</p>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">should not report changed.</p>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">reports changed.</p>
<h5 dir="auto">Issue Type:</h5>
<p dir="auto">Bug Report</p>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">ansible 1.8 (latest devel)</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">Centos 6.5</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">When <code class="notranslate">enabled</code> parameter of the <code class="notranslate">service</code> module is used, the module always reports as changed. This works without any problems on Ansible 1.7.</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">You can use this playbook:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
---
- hosts: test
  tasks:
    - service: name=ntpd enabled=yes"><pre class="notranslate"><code class="notranslate">
---
- hosts: test
  tasks:
    - service: name=ntpd enabled=yes
</code></pre></div>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">It should report as unchanged:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [test] ************************************************************

TASK: [service name=ntpd enabled=yes] *****************************************
ok: [test]

PLAY RECAP ********************************************************************
test                : ok=1    changed=0    unreachable=0    failed=0"><pre class="notranslate"><code class="notranslate">PLAY [test] ************************************************************

TASK: [service name=ntpd enabled=yes] *****************************************
ok: [test]

PLAY RECAP ********************************************************************
test                : ok=1    changed=0    unreachable=0    failed=0
</code></pre></div>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">It always reports as changed, no matter how many time your run the playbook:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [test] ************************************************************

TASK: [service name=ntpd enabled=yes] *****************************************
changed: [test]

PLAY RECAP ********************************************************************
test                : ok=1    changed=1    unreachable=0    failed=0
"><pre class="notranslate"><code class="notranslate">PLAY [test] ************************************************************

TASK: [service name=ntpd enabled=yes] *****************************************
changed: [test]

PLAY RECAP ********************************************************************
test                : ok=1    changed=1    unreachable=0    failed=0

</code></pre></div>