<?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 Failing  Templete job in Ansible Tower, but works in Ansible Core. in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/failing-templete-job-in-ansible-tower-but-works-in-ansible-core/m-p/300629#M2084</link>
    <description>&lt;P&gt;I have been able to take what was given at Ignite '18 and can run the create_service.yml in&amp;nbsp; se_summit folder without issue. However, after installing Ansible Tower, I can't get it to work at all. Doing some digging I was able to determine that it's either an issue with the firewall or username / password.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested my theory by attempting to run the create_service.yml without updateing the vars. yml file. and received the following error. The same happens while running the same yaml file within my template.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Things I have done in Ansible Tower&lt;/P&gt;&lt;P&gt;Downloaded project from GIT&lt;/P&gt;&lt;P&gt;Created the credentials (both network and machine and tried both)&lt;/P&gt;&lt;P&gt;Created inventory and host&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Things I have done to create_service.yml file ( in folder&amp;nbsp;/var/lib/awx/projects/_16__pan/ansible-playbooks/se_summit_2018)&lt;/P&gt;&lt;P&gt;commented out the lines declaring IP address, username and password. as well as commenting out the use of the vars.yml. I am at a loss - any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;======================================================================================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="at-Stdout-row  child-of-000c29f4-e8ae-e083-26f5-000000000010 child-of-000c29f4-e8ae-e083-26f5-000000000006 child-of-5a84c88e-c477-4d69-ae35-234c32dd9fb7 at-Stdout-row--clickable"&gt;&lt;DIV class="at-Stdout-event"&gt;&lt;DIV class="at-Stdout-row  child-of-000c29f4-e8ae-e083-26f5-000000000010 child-of-000c29f4-e8ae-e083-26f5-000000000006 child-of-5a84c88e-c477-4d69-ae35-234c32dd9fb7 at-Stdout-row--clickable"&gt;&lt;DIV class="at-Stdout-event"&gt;&lt;SPAN&gt;An exception occurred during task execution. To see the full traceback, use -vvv. The error was: pandevice.errors.PanURLError: URLError: code: 415 reason: Unsupported Media Type&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;fatal: [localhost]: FAILED! =&amp;gt; {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/usr/local/lib/python3.6/site-packages/pandevice/base.py\", line 3469, in method\n super_method(self, *args, **kwargs)\n File \"/usr/local/lib/python3.6/site-packages/pan/xapi.py\", line 637, in keygen\n raise PanXapiError(self.status_detail)\npan.xapi.PanXapiError: URLError: code: 415 reason: Unsupported Media Type\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/var/lib/awx/.ansible/tmp/ansible-tmp-1573378900.0737493-200321119739176/AnsiballZ_panos_object.py\", line 114, in &amp;lt;module&amp;gt;\n _ansiballz_main()\n File \"/var/lib/awx/.ansible/tmp/ansible-tmp-1573378900.0737493-200321119739176/AnsiballZ_panos_object.py\", line 106, …&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 25 Nov 2019 18:14:20 GMT</pubDate>
    <dc:creator>Rashid_A</dc:creator>
    <dc:date>2019-11-25T18:14:20Z</dc:date>
    <item>
      <title>Failing  Templete job in Ansible Tower, but works in Ansible Core.</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/failing-templete-job-in-ansible-tower-but-works-in-ansible-core/m-p/300629#M2084</link>
      <description>&lt;P&gt;I have been able to take what was given at Ignite '18 and can run the create_service.yml in&amp;nbsp; se_summit folder without issue. However, after installing Ansible Tower, I can't get it to work at all. Doing some digging I was able to determine that it's either an issue with the firewall or username / password.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested my theory by attempting to run the create_service.yml without updateing the vars. yml file. and received the following error. The same happens while running the same yaml file within my template.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Things I have done in Ansible Tower&lt;/P&gt;&lt;P&gt;Downloaded project from GIT&lt;/P&gt;&lt;P&gt;Created the credentials (both network and machine and tried both)&lt;/P&gt;&lt;P&gt;Created inventory and host&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Things I have done to create_service.yml file ( in folder&amp;nbsp;/var/lib/awx/projects/_16__pan/ansible-playbooks/se_summit_2018)&lt;/P&gt;&lt;P&gt;commented out the lines declaring IP address, username and password. as well as commenting out the use of the vars.yml. I am at a loss - any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;======================================================================================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="at-Stdout-row  child-of-000c29f4-e8ae-e083-26f5-000000000010 child-of-000c29f4-e8ae-e083-26f5-000000000006 child-of-5a84c88e-c477-4d69-ae35-234c32dd9fb7 at-Stdout-row--clickable"&gt;&lt;DIV class="at-Stdout-event"&gt;&lt;DIV class="at-Stdout-row  child-of-000c29f4-e8ae-e083-26f5-000000000010 child-of-000c29f4-e8ae-e083-26f5-000000000006 child-of-5a84c88e-c477-4d69-ae35-234c32dd9fb7 at-Stdout-row--clickable"&gt;&lt;DIV class="at-Stdout-event"&gt;&lt;SPAN&gt;An exception occurred during task execution. To see the full traceback, use -vvv. The error was: pandevice.errors.PanURLError: URLError: code: 415 reason: Unsupported Media Type&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;fatal: [localhost]: FAILED! =&amp;gt; {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/usr/local/lib/python3.6/site-packages/pandevice/base.py\", line 3469, in method\n super_method(self, *args, **kwargs)\n File \"/usr/local/lib/python3.6/site-packages/pan/xapi.py\", line 637, in keygen\n raise PanXapiError(self.status_detail)\npan.xapi.PanXapiError: URLError: code: 415 reason: Unsupported Media Type\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/var/lib/awx/.ansible/tmp/ansible-tmp-1573378900.0737493-200321119739176/AnsiballZ_panos_object.py\", line 114, in &amp;lt;module&amp;gt;\n _ansiballz_main()\n File \"/var/lib/awx/.ansible/tmp/ansible-tmp-1573378900.0737493-200321119739176/AnsiballZ_panos_object.py\", line 106, …&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 25 Nov 2019 18:14:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/failing-templete-job-in-ansible-tower-but-works-in-ansible-core/m-p/300629#M2084</guid>
      <dc:creator>Rashid_A</dc:creator>
      <dc:date>2019-11-25T18:14:20Z</dc:date>
    </item>
  </channel>
</rss>

