<?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 and set commands in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-and-set-commands/m-p/313496#M2197</link>
    <description>&lt;P&gt;new to ansible - that being said I wanted to ask has anyone used example playbooks in ansible-galaxy to do config changes to 20 or 100 + plus devices?&amp;nbsp; In the past, I have used a custom python script that works well it allows me to manually add the command and the device list and let it run but it's not as pretty as using ansible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking at using the fw_op_loop.yml or just fw_op.yml to apply commands&amp;nbsp;set deviceconfig setting ssl-decrypt url-proxy yes &amp;amp;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;set system setting ctd hold-client-request yes, not sure if I am looking the correct playbook for this task requires a different playbook and if the pre-made panos modules in ansible support what I want to do.&lt;/DIV&gt;&lt;P&gt;&lt;SPAN class="ph cmd"&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2020 13:31:42 GMT</pubDate>
    <dc:creator>Porfirio</dc:creator>
    <dc:date>2020-02-28T13:31:42Z</dc:date>
    <item>
      <title>Ansible and set commands</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-and-set-commands/m-p/313496#M2197</link>
      <description>&lt;P&gt;new to ansible - that being said I wanted to ask has anyone used example playbooks in ansible-galaxy to do config changes to 20 or 100 + plus devices?&amp;nbsp; In the past, I have used a custom python script that works well it allows me to manually add the command and the device list and let it run but it's not as pretty as using ansible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking at using the fw_op_loop.yml or just fw_op.yml to apply commands&amp;nbsp;set deviceconfig setting ssl-decrypt url-proxy yes &amp;amp;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;set system setting ctd hold-client-request yes, not sure if I am looking the correct playbook for this task requires a different playbook and if the pre-made panos modules in ansible support what I want to do.&lt;/DIV&gt;&lt;P&gt;&lt;SPAN class="ph cmd"&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 13:31:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-and-set-commands/m-p/313496#M2197</guid>
      <dc:creator>Porfirio</dc:creator>
      <dc:date>2020-02-28T13:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible and set commands</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-and-set-commands/m-p/314283#M2211</link>
      <description>&lt;P&gt;could something like this work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- name: Demonstrate how to use OP module to execute various op commands on PANW device&lt;BR /&gt;hosts: my-firewall&lt;BR /&gt;connection: local&lt;BR /&gt;gather_facts: False&lt;/P&gt;&lt;P&gt;roles:&lt;BR /&gt;- role: PaloAltoNetworks.paloaltonetworks&lt;/P&gt;&lt;P&gt;tasks:&lt;BR /&gt;- include_vars: 'firewall-secrets.yml.bak'&lt;BR /&gt;no_log: 'yes'&lt;/P&gt;&lt;P&gt;- name: Enable http proxy.&lt;BR /&gt;panos_type_cmd:&lt;BR /&gt;provider: '{{provider}}'&lt;BR /&gt;xpath: |&lt;BR /&gt;/config/devices/entry[@name='localhost.localdomain']&lt;BR /&gt;/deviceconfig/setting/ssl-decrypt&lt;BR /&gt;element: |&lt;BR /&gt;&amp;lt;url-proxy&amp;gt;yes&amp;lt;/url-proxy&amp;gt;&lt;BR /&gt;&amp;lt;/entry&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 22:55:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-and-set-commands/m-p/314283#M2211</guid>
      <dc:creator>Porfirio</dc:creator>
      <dc:date>2020-03-03T22:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible and set commands</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-and-set-commands/m-p/354560#M2468</link>
      <description>&lt;P&gt;HI,&lt;BR /&gt;Hope you can help me on this.&lt;BR /&gt;I am looking to create a task for one of the CLI cmd "set deviceconfig setting management large core yes". I have the Xpath &amp;amp; XML format for this cmd. what is the module &amp;amp; format that helps me to execute this with no issues.&lt;BR /&gt;&lt;BR /&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 20:44:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-and-set-commands/m-p/354560#M2468</guid>
      <dc:creator>snekkanti</dc:creator>
      <dc:date>2020-10-06T20:44:55Z</dc:date>
    </item>
  </channel>
</rss>

