<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ansible with ontap 9.5 in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ansible-with-ontap-9-5/m-p/156528#M3048</link>
    <description>&lt;P&gt;Welcome to Ansible&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ping module doesn't work with ONTAP.&amp;nbsp; It actually tries an ssh connection - which is not how ONTAP is accessed. The NetApp modules use an http/https connection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;&lt;STRONG&gt;HIGHLY&lt;/STRONG&gt; recommend you go to &lt;A title="thePub" href="https://netapp.io/" target="_blank" rel="noopener"&gt;netapp.io (thePub)&lt;/A&gt;&amp;nbsp;and read the excellent series of articles on Ansible by David Blackwell - and it'll get you on the right track as far as using the NetApp Ansible modules.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 May 2020 14:09:55 GMT</pubDate>
    <dc:creator>JohnChampion</dc:creator>
    <dc:date>2020-05-27T14:09:55Z</dc:date>
    <item>
      <title>ansible with ontap 9.5</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ansible-with-ontap-9-5/m-p/156508#M3047</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I just started on Ansible for NetApp automation, I was trying to ping a netapp A220&amp;nbsp;(ontap 9.5) using Ansible, but i get the issue and&amp;nbsp; the issue is as listed,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;redhat@ansible# ansible all - m ping&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;xxx.xxx.xxx.xxx| UNREACHABLE! =&amp;gt; {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"changed": false,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"msg": "Failed to connect to the host via ssh: ",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"unreachable": true&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i know that the systms are connected, they find each other, both can be reached, the controller(redhat) and the managed system(netapp) were correctlly configured.&amp;nbsp;but when i use ansible to ping netapp, brought these issue.&amp;nbsp;no chance to get the issue out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please, i am searching for a solution,&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my&amp;nbsp; agenda:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-they were tow hosts (controller/ansible) and the netapp. both correctly configured (two ip’s),&lt;/P&gt;
&lt;P&gt;-on the ontap i create a user which had &amp;nbsp;(publickey or password, ssh [protocol], admin[role])&lt;/P&gt;
&lt;P&gt;-the hosts file include those information’s &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;did i forget something,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I acheive this?? with ansible&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;xx.xx.xxx.xxx | SUCCESS =&amp;gt; {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"ansible_facts": {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"discovered_interpreter_python": "/usr/bin/python"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;},&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"changed": false,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;"ping": "pong&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:08:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ansible-with-ontap-9-5/m-p/156508#M3047</guid>
      <dc:creator>essay</dc:creator>
      <dc:date>2025-06-04T11:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: ansible with ontap 9.5</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ansible-with-ontap-9-5/m-p/156528#M3048</link>
      <description>&lt;P&gt;Welcome to Ansible&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ping module doesn't work with ONTAP.&amp;nbsp; It actually tries an ssh connection - which is not how ONTAP is accessed. The NetApp modules use an http/https connection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;&lt;STRONG&gt;HIGHLY&lt;/STRONG&gt; recommend you go to &lt;A title="thePub" href="https://netapp.io/" target="_blank" rel="noopener"&gt;netapp.io (thePub)&lt;/A&gt;&amp;nbsp;and read the excellent series of articles on Ansible by David Blackwell - and it'll get you on the right track as far as using the NetApp Ansible modules.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 14:09:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ansible-with-ontap-9-5/m-p/156528#M3048</guid>
      <dc:creator>JohnChampion</dc:creator>
      <dc:date>2020-05-27T14:09:55Z</dc:date>
    </item>
  </channel>
</rss>

