unable to restart iptables from ansible ( Interactive authentication required)
<p>How to restart iptables service from Ansible (in order to reload config file <code>/etc/sysconfig/iptables</code>)</p>

<p>I have handler <code>restart iptables</code> defined as</p>

<pre><code>service: name=iptables enabled=yes state=restarted
</code></pre>

<p>But it produces following error message:</p>

<blockquote>
  <p>fatal: [xx.xx.xx.xx]: FAILED! => {"changed": false, "failed": true,
  "msg": "Failed to stop iptables.service: Interactive authentication
  required.\n Failed to start iptables.service: Interactive
  authentication required.\n"}</p>
</blockquote>

<p>I am working with <code>CentOS Linux release 7.2.1511 (Core)</code></p>