<?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 Re: Ansible and Fpolicy management in AFF</title>
    <link>https://community.netapp.com/t5/AFF/Ansible-and-Fpolicy-management/m-p/453902#M1284</link>
    <description>&lt;P&gt;I don't believe this is an issue in our modules.&amp;nbsp; but a bug in ontap itself.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2024 13:13:11 GMT</pubDate>
    <dc:creator>mirko</dc:creator>
    <dc:date>2024-07-11T13:13:11Z</dc:date>
    <item>
      <title>Ansible and Fpolicy management</title>
      <link>https://community.netapp.com/t5/AFF/Ansible-and-Fpolicy-management/m-p/453551#M1274</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We try to configure Fpolicy throught Ansible to facilitate updates of exclude extension list content manage by security team.&lt;/P&gt;&lt;P&gt;In the extension list we have numeric extension like 000 but when ansible try to activate the fpolicy it failed :&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;"msg": "calling: /private/cli/vserver/fpolicy/policy/scope: &lt;STRONG&gt;got Expecting json, got: b'&lt;/STRONG&gt;{&lt;BR /&gt;n \"records\": [&lt;BR /&gt;n&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;{\\n \"vserver\": \"BASNASCIFS\",\\n \"policy_name\": \"blockext_cifs_v1.50\",\\n \"file_extensions_to_include\": &lt;STRONG&gt;[\\n 000&lt;/STRONG&gt;,\\n \"kkk\",\\n &lt;STRONG&gt;\"kkkjj\&lt;/STRONG&gt;"\\n ],\\n \"is_file_extension_check_on_directories_enabled\": true,\\n \"is_monitoring_of_objects_with_no_extension_enabled\": false\\n }&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;n ],&lt;BR /&gt;n \"num_records\": 1&lt;BR /&gt;n}'."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For your information the scope is created successfully :&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Vserver Policy Extensions Extensions&lt;BR /&gt;Name Name Included Excluded&lt;BR /&gt;----------------- ------------------- -------------------- -------------------&lt;BR /&gt;abcd&amp;nbsp; blockext_cifs_v1.50 &lt;STRONG&gt;000, kkk, kkkjj&lt;/STRONG&gt; -&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And if we enable the fpolicy throught the cli, it work !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you got an idea ?&lt;/P&gt;&lt;P&gt;It seems that ansible use the value as integer and not as string, we tried to add single au double quote, same issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jc&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 12:18:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/AFF/Ansible-and-Fpolicy-management/m-p/453551#M1274</guid>
      <dc:creator>Jechar</dc:creator>
      <dc:date>2024-06-28T12:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible and Fpolicy management</title>
      <link>https://community.netapp.com/t5/AFF/Ansible-and-Fpolicy-management/m-p/453676#M1279</link>
      <description>&lt;P&gt;Hello Jechar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please raise this query on the following portal. I strongly believe you will have your query answered there.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/ansible-collections/netapp.ontap" target="_blank"&gt;https://github.com/ansible-collections/netapp.ontap&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 06:22:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/AFF/Ansible-and-Fpolicy-management/m-p/453676#M1279</guid>
      <dc:creator>ChLokesh</dc:creator>
      <dc:date>2024-07-05T06:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible and Fpolicy management</title>
      <link>https://community.netapp.com/t5/AFF/Ansible-and-Fpolicy-management/m-p/453901#M1283</link>
      <description>&lt;P&gt;This clearly is a bug in ontap.&amp;nbsp; It returns faulty json (not wrapping quotes around the 000).&lt;BR /&gt;Are you registering the return value of this module ?&amp;nbsp; If you are, try to remove the register property, chances are the faulty response is ignored.&amp;nbsp; Nevertheless, a bug&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 13:07:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/AFF/Ansible-and-Fpolicy-management/m-p/453901#M1283</guid>
      <dc:creator>mirko</dc:creator>
      <dc:date>2024-07-11T13:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible and Fpolicy management</title>
      <link>https://community.netapp.com/t5/AFF/Ansible-and-Fpolicy-management/m-p/453902#M1284</link>
      <description>&lt;P&gt;I don't believe this is an issue in our modules.&amp;nbsp; but a bug in ontap itself.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 13:13:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/AFF/Ansible-and-Fpolicy-management/m-p/453902#M1284</guid>
      <dc:creator>mirko</dc:creator>
      <dc:date>2024-07-11T13:13:11Z</dc:date>
    </item>
  </channel>
</rss>

