<div dir="ltr"><div><font size="2"><span style="font-family:arial,sans-serif">I found the answer over here - <a href="https://docs.ansible.com/ansible/latest/network/getting_started/network_differences.html">https://docs.ansible.com/ansible/latest/network/getting_started/network_differences.html</a></span></font></div><div><font size="2"><span style="font-family:arial,sans-serif">
</span></font><div class="gmail-section" id="execution-on-the-control-node">
<h2><font size="2"><span style="font-family:arial,sans-serif"><a class="gmail-toc-backref" href="https://docs.ansible.com/ansible/latest/network/getting_started/network_differences.html#id1">Execution on the control node</a></span></font></h2><font size="2"><span style="font-family:arial,sans-serif">Unlike most Ansible modules, network modules do not run on the 
managed nodes. From a user’s point of view, network modules work like 
any other modules. They work with ad hoc commands, playbooks, and roles.
 Behind the scenes, however, network modules use a different methodology
 than the other (Linux/Unix and Windows) modules use. Ansible is written
 and executed in Python. Because the majority of network devices can not
 run Python, the Ansible network modules are executed on the Ansible 
control node, where <code class="gmail-docutils gmail-literal gmail-notranslate"><span class="gmail-pre">ansible</span></code> or <code class="gmail-docutils gmail-literal gmail-notranslate"><span class="gmail-pre">ansible-playbook</span></code> runs.</span></font> <br></div><div class="gmail-section"><br></div><div class="gmail-section">Also, found this ...<br></div><font size="2"><span style="font-family:arial,sans-serif">
</span></font><div class="gmail-section" id="gmail-multiple-communication-protocols">
<h2><font size="2"><span style="font-family:arial,sans-serif"><a class="gmail-toc-backref" href="https://docs.ansible.com/ansible/latest/network/getting_started/network_differences.html#id2">Multiple communication protocols</a></span></font></h2>
<p><font size="2"><span style="font-family:arial,sans-serif">Because network modules execute on the control node instead of on the
 managed nodes, they can support multiple communication protocols. The 
communication protocol (XML over SSH, CLI over SSH, API over HTTPS) 
selected for each network module depends on the platform and the purpose
 of the module. Some network modules support only one protocol; some 
offer a choice. The most common protocol is CLI over SSH. You set the 
communication protocol with the <code class="gmail-docutils gmail-literal gmail-notranslate"><span class="gmail-pre">ansible_connection</span></code> variable ...<br></span></font></p></div>

</div></div>