<?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 - Failure when processing no_log parameters. Module invocation will be hidden. in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-failure-when-processing-no-log-parameters-module/m-p/306844#M2134</link>
    <description>&lt;P&gt;I am getting starting with Ansible automation tool against our panorama and firewall devices, i have downloaded the PA roles and trying to check the configuration via an example using panos_adminstrator module, but getting an error as following.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;TASK [configure foo administrator] **********************************************************************************************************************************************************************************************************&lt;BR /&gt;fatal: [10.9.1.15]: FAILED! =&amp;gt; {"changed": false, "msg": "Failure when processing no_log parameters. Module invocation will be hidden. dictionary requested, could not parse JSON or key=value"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i enabled verbose i am getting this message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fatal: [10.9.1.15]: FAILED! =&amp;gt; {&lt;BR /&gt;"changed": false,&lt;BR /&gt;"invocation": {&lt;BR /&gt;"module_args": "HIDDEN DUE TO FAILURE"&lt;BR /&gt;},&lt;BR /&gt;"msg": "Failure when processing no_log parameters. Module invocation will be hidden. dictionary requested, could not parse JSON or key=value"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my playbook look like this&lt;/P&gt;&lt;P&gt;---&lt;BR /&gt;- name: Make sure the given user is present and has the specified password&lt;BR /&gt;hosts: panorama&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;- name: Grab the credentials from ansible-vault&lt;BR /&gt;include_vars: 'panorama-secrets.yml'&lt;BR /&gt;no_log: 'true'&lt;/P&gt;&lt;P&gt;- name: configure foo administrator&lt;BR /&gt;panos_administrator:&lt;BR /&gt;provider: '{{ ip_address }}'&lt;BR /&gt;admin_username: 'foo'&lt;BR /&gt;admin_password: 'secret'&lt;BR /&gt;superuser: true&lt;BR /&gt;commit: false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers on what the issue might be here??&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2020 18:59:52 GMT</pubDate>
    <dc:creator>aravindnbp</dc:creator>
    <dc:date>2020-01-15T18:59:52Z</dc:date>
    <item>
      <title>Ansible - Failure when processing no_log parameters. Module invocation will be hidden.</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-failure-when-processing-no-log-parameters-module/m-p/306844#M2134</link>
      <description>&lt;P&gt;I am getting starting with Ansible automation tool against our panorama and firewall devices, i have downloaded the PA roles and trying to check the configuration via an example using panos_adminstrator module, but getting an error as following.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;TASK [configure foo administrator] **********************************************************************************************************************************************************************************************************&lt;BR /&gt;fatal: [10.9.1.15]: FAILED! =&amp;gt; {"changed": false, "msg": "Failure when processing no_log parameters. Module invocation will be hidden. dictionary requested, could not parse JSON or key=value"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i enabled verbose i am getting this message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fatal: [10.9.1.15]: FAILED! =&amp;gt; {&lt;BR /&gt;"changed": false,&lt;BR /&gt;"invocation": {&lt;BR /&gt;"module_args": "HIDDEN DUE TO FAILURE"&lt;BR /&gt;},&lt;BR /&gt;"msg": "Failure when processing no_log parameters. Module invocation will be hidden. dictionary requested, could not parse JSON or key=value"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my playbook look like this&lt;/P&gt;&lt;P&gt;---&lt;BR /&gt;- name: Make sure the given user is present and has the specified password&lt;BR /&gt;hosts: panorama&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;- name: Grab the credentials from ansible-vault&lt;BR /&gt;include_vars: 'panorama-secrets.yml'&lt;BR /&gt;no_log: 'true'&lt;/P&gt;&lt;P&gt;- name: configure foo administrator&lt;BR /&gt;panos_administrator:&lt;BR /&gt;provider: '{{ ip_address }}'&lt;BR /&gt;admin_username: 'foo'&lt;BR /&gt;admin_password: 'secret'&lt;BR /&gt;superuser: true&lt;BR /&gt;commit: false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers on what the issue might be here??&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 18:59:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-failure-when-processing-no-log-parameters-module/m-p/306844#M2134</guid>
      <dc:creator>aravindnbp</dc:creator>
      <dc:date>2020-01-15T18:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible - Failure when processing no_log parameters. Module invocation will be hidden.</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-failure-when-processing-no-log-parameters-module/m-p/307604#M2141</link>
      <description>&lt;P&gt;This forum has eaten your formatting so it's hard to tell what the real issue is here.&amp;nbsp; It could be that the YAML is not properly formatted in your playbook; it could be that the variable retrieval is broken somehow (say, the "panorama-secrets.yml" file is improperly formatted or not there); I also notice that you are trying to refer to a param named &lt;CODE&gt;ip_address&lt;/CODE&gt; in the &lt;CODE&gt;provider&lt;/CODE&gt; param, but the &lt;CODE&gt;provider&lt;/CODE&gt; param is expecting a YAML dictionary not a string.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 18:15:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/ansible-failure-when-processing-no-log-parameters-module/m-p/307604#M2141</guid>
      <dc:creator>gfreeman</dc:creator>
      <dc:date>2020-01-22T18:15:45Z</dc:date>
    </item>
  </channel>
</rss>

