<?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 Arbitrary commands issue on ansible in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/arbitrary-commands-issue-on-ansible/m-p/596760#M118726</link>
    <description>&lt;P&gt;Hi;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;While Executing Arbitrary commands like (eg: &amp;nbsp;show lacp aggregate-ethernet all,&amp;nbsp;show chassis status ) via ansible playbook its not getting exact output as we getting in paloalto console output some attributes are missing, I am using the paloaltonetworks.panos.panos_op modules for generating the ansible report. Is the any other specific module to generate the exact output via ansible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mohamed Azharudeen&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2024 14:21:51 GMT</pubDate>
    <dc:creator>Mohamedsham</dc:creator>
    <dc:date>2024-09-04T14:21:51Z</dc:date>
    <item>
      <title>Arbitrary commands issue on ansible</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/arbitrary-commands-issue-on-ansible/m-p/596760#M118726</link>
      <description>&lt;P&gt;Hi;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;While Executing Arbitrary commands like (eg: &amp;nbsp;show lacp aggregate-ethernet all,&amp;nbsp;show chassis status ) via ansible playbook its not getting exact output as we getting in paloalto console output some attributes are missing, I am using the paloaltonetworks.panos.panos_op modules for generating the ansible report. Is the any other specific module to generate the exact output via ansible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mohamed Azharudeen&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 14:21:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/arbitrary-commands-issue-on-ansible/m-p/596760#M118726</guid>
      <dc:creator>Mohamedsham</dc:creator>
      <dc:date>2024-09-04T14:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Arbitrary commands issue on ansible</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/arbitrary-commands-issue-on-ansible/m-p/596888#M118736</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/107609939"&gt;@Mohamedsham&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Ansible works great if you're trying to do very defined tasks; the moment that you start introducing arbitrary commands I personally highly recommend dropping to the actual API. You're kind of stuck because you're reliant on how the module is parsing the returned result. Personally I find it better to just build it yourself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that isn't your thing, you'll want to open an &lt;A href="https://github.com/PaloAltoNetworks/pan-os-ansible/issues" target="_self"&gt;issue&lt;/A&gt; on Github and hope someone actually picks it up and fixes the parsing to include whatever you've identified is missing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 20:49:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/arbitrary-commands-issue-on-ansible/m-p/596888#M118736</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2024-09-04T20:49:12Z</dc:date>
    </item>
  </channel>
</rss>

