<?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 Ansible-pan with Ansible Tower and Git in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-pan-with-ansible-tower-and-git/m-p/294592#M2063</link>
    <description>&lt;P&gt;We are using Ansible Tower 3.5 and Ansible 2.8 to schedule and run network and security automation playbooks. We are looking at using the Ansible Galaxy modules for automating PANOS configurations. I was able to write the playbooks to do what we need, but whenever I run the playbook with the ansible-pan modules, the main task runs PIP to install &lt;SPAN class="pl-s"&gt;pan-python&lt;/SPAN&gt;, &lt;SPAN class="pl-s"&gt;pandevice&lt;/SPAN&gt;, &lt;SPAN class="pl-s"&gt;xmltodict everytime we execute the PAN-OS automation playbook. &lt;/SPAN&gt;We also use GIT as a repository and version control of the playbooks, so Tower pulls the playbooks directly from the GIT server. When I install the Ansible Galaxy modules, the modules install in the same path as the playbook, and then the install the latest &lt;SPAN class="pl-s"&gt;pan-python&lt;/SPAN&gt;, &lt;SPAN class="pl-s"&gt;pandevice&lt;/SPAN&gt;, &lt;SPAN class="pl-s"&gt;xmltodict&lt;/SPAN&gt;. Since we are using GIT to store the playbooks, these modules will update everytime after Tower pulls the GIT repo. Tower releases the local copy of the repo when the task has completed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way I can install the Ansible Galaxy roles to a different path or a global path, and is there any way I can avoid running PIP install every time I run the ansible-pan module?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Brian Burns&lt;/P&gt;</description>
    <pubDate>Sun, 27 Oct 2019 03:38:29 GMT</pubDate>
    <dc:creator>bgburns01</dc:creator>
    <dc:date>2019-10-27T03:38:29Z</dc:date>
    <item>
      <title>Ansible-pan with Ansible Tower and Git</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-pan-with-ansible-tower-and-git/m-p/294592#M2063</link>
      <description>&lt;P&gt;We are using Ansible Tower 3.5 and Ansible 2.8 to schedule and run network and security automation playbooks. We are looking at using the Ansible Galaxy modules for automating PANOS configurations. I was able to write the playbooks to do what we need, but whenever I run the playbook with the ansible-pan modules, the main task runs PIP to install &lt;SPAN class="pl-s"&gt;pan-python&lt;/SPAN&gt;, &lt;SPAN class="pl-s"&gt;pandevice&lt;/SPAN&gt;, &lt;SPAN class="pl-s"&gt;xmltodict everytime we execute the PAN-OS automation playbook. &lt;/SPAN&gt;We also use GIT as a repository and version control of the playbooks, so Tower pulls the playbooks directly from the GIT server. When I install the Ansible Galaxy modules, the modules install in the same path as the playbook, and then the install the latest &lt;SPAN class="pl-s"&gt;pan-python&lt;/SPAN&gt;, &lt;SPAN class="pl-s"&gt;pandevice&lt;/SPAN&gt;, &lt;SPAN class="pl-s"&gt;xmltodict&lt;/SPAN&gt;. Since we are using GIT to store the playbooks, these modules will update everytime after Tower pulls the GIT repo. Tower releases the local copy of the repo when the task has completed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way I can install the Ansible Galaxy roles to a different path or a global path, and is there any way I can avoid running PIP install every time I run the ansible-pan module?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Brian Burns&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2019 03:38:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-pan-with-ansible-tower-and-git/m-p/294592#M2063</guid>
      <dc:creator>bgburns01</dc:creator>
      <dc:date>2019-10-27T03:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible-pan with Ansible Tower and Git</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-pan-with-ansible-tower-and-git/m-p/294602#M2064</link>
      <description>&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pip installs of pan-python, pandevice, and xmltodict are actually called from the main tasks file in the role itself. I don’t believe there’s anything you can do in your Tower configuration to avoid it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We’re likely going to remove those tasks going forward since most of the modules check to ensure those libraries are installed and will error out if they’re not found.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Bob&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2019 11:57:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-pan-with-ansible-tower-and-git/m-p/294602#M2064</guid>
      <dc:creator>rhagen</dc:creator>
      <dc:date>2019-10-27T11:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible-pan with Ansible Tower and Git</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-pan-with-ansible-tower-and-git/m-p/325801#M2294</link>
      <description>&lt;P&gt;Is this still the behavior? It will install the mentioned modules evrytime i run a playbook?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I dont have access to a ansible installation to test with atm)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 May 2020 16:19:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-pan-with-ansible-tower-and-git/m-p/325801#M2294</guid>
      <dc:creator>hbalzac</dc:creator>
      <dc:date>2020-05-02T16:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible-pan with Ansible Tower and Git</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-pan-with-ansible-tower-and-git/m-p/326056#M2301</link>
      <description>&lt;P&gt;The Ansible role (&lt;A href="https://github.com/PaloAltoNetworks/ansible-pan" target="_self"&gt;here&lt;/A&gt;) has entered maintenance mode as Ansible is pushing non-core modules into the new collections framework.&amp;nbsp; As such, the Palo Alto Networks &lt;A href="https://github.com/PaloAltoNetworks/pan-os-ansible" target="_self"&gt;Ansible collection&lt;/A&gt; does not have this same behavior.&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 02:03:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-pan-with-ansible-tower-and-git/m-p/326056#M2301</guid>
      <dc:creator>gfreeman</dc:creator>
      <dc:date>2020-05-05T02:03:07Z</dc:date>
    </item>
  </channel>
</rss>

