<?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 beginner ping to PA firewall in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-beginner-ping-to-pa-firewall/m-p/310619#M2175</link>
    <description>&lt;P&gt;I don't think that &lt;CODE&gt;ping&lt;/CODE&gt; works on PAN-OS appliances because you don't connect to them using ssh, but the API.&amp;nbsp; I think a better test to verify connectivity is to run a playbook that uses &lt;CODE&gt;panos_op&lt;/CODE&gt;, and you can use the example from the documentation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://ansible-pan.readthedocs.io/en/latest/modules/panos_op_module.html" target="_blank"&gt;https://ansible-pan.readthedocs.io/en/latest/modules/panos_op_module.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2020 15:35:48 GMT</pubDate>
    <dc:creator>gfreeman</dc:creator>
    <dc:date>2020-02-11T15:35:48Z</dc:date>
    <item>
      <title>Ansible beginner ping to PA firewall</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-beginner-ping-to-pa-firewall/m-p/310565#M2174</link>
      <description>&lt;P&gt;I am new to ansible and i am trying to do a simple ping test to a host that i want to test. I enter the command "ansible all -m ping" and got this error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;10.2x.x.x | UNREACHABLE! =&amp;gt; {&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;"changed": false,&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;"msg": "Failed to connect to the host via ssh: This system is for the use of authorized users only. Individuals\nusing this computer system without authority, or in excess of \ntheir authority, are subject to having all of their activities on this \nsystem monitored and recorded by system personnel. \n\nIn the course of monitoring individuals improperly using this \nsystem, or in the course of system maintenance, the activities of \nauthorized users may also be monitored. Anyone using this \nsystem expressly consents to such monitoring and is advised that \nif such monitoring reveals possible evidence of criminal activity, \nsystem personnel may provide the evidence of such monitoring to \nlaw enforcement officials.\nxxxg@10.x.x.x: Permission denied (publickey,password,keyboard-interactive).",&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;"unreachable": true&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also copied the ssh-key but it didnt work. What could be wrong? can you give me the steps what should i do after i enter the ip address on the hosts file? I know i need to do something with sshkey but i am not sure exactly what is needed. All i want to do is get the ping test done and i should be able to keep the ball rolling.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 10:14:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-beginner-ping-to-pa-firewall/m-p/310565#M2174</guid>
      <dc:creator>BennyChong</dc:creator>
      <dc:date>2020-02-11T10:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible beginner ping to PA firewall</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-beginner-ping-to-pa-firewall/m-p/310619#M2175</link>
      <description>&lt;P&gt;I don't think that &lt;CODE&gt;ping&lt;/CODE&gt; works on PAN-OS appliances because you don't connect to them using ssh, but the API.&amp;nbsp; I think a better test to verify connectivity is to run a playbook that uses &lt;CODE&gt;panos_op&lt;/CODE&gt;, and you can use the example from the documentation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://ansible-pan.readthedocs.io/en/latest/modules/panos_op_module.html" target="_blank"&gt;https://ansible-pan.readthedocs.io/en/latest/modules/panos_op_module.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 15:35:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-beginner-ping-to-pa-firewall/m-p/310619#M2175</guid>
      <dc:creator>gfreeman</dc:creator>
      <dc:date>2020-02-11T15:35:48Z</dc:date>
    </item>
  </channel>
</rss>

