<?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 How to check if volume/qtree exist with Ansible module. in General Discussion</title>
    <link>https://community.netapp.com/t5/General-Discussion/How-to-check-if-volume-qtree-exist-with-Ansible-module/m-p/145421#M275</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using these modules&amp;nbsp;na_ontap_volume &amp;amp;&amp;nbsp;na_ontap_qtree. I could not find anyway to check if qtree or volume already exist in SVM. Do I have to use the handler to check? If yes, then back to same question, how handler will check if volume/qtree do exist.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW,&amp;nbsp;state:&amp;nbsp;absent/present is also not working. Absent removes the volume and present allow task to be executed without any change.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 13:00:50 GMT</pubDate>
    <dc:creator>gaurav_verma</dc:creator>
    <dc:date>2025-06-04T13:00:50Z</dc:date>
    <item>
      <title>How to check if volume/qtree exist with Ansible module.</title>
      <link>https://community.netapp.com/t5/General-Discussion/How-to-check-if-volume-qtree-exist-with-Ansible-module/m-p/145421#M275</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using these modules&amp;nbsp;na_ontap_volume &amp;amp;&amp;nbsp;na_ontap_qtree. I could not find anyway to check if qtree or volume already exist in SVM. Do I have to use the handler to check? If yes, then back to same question, how handler will check if volume/qtree do exist.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW,&amp;nbsp;state:&amp;nbsp;absent/present is also not working. Absent removes the volume and present allow task to be executed without any change.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:00:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/General-Discussion/How-to-check-if-volume-qtree-exist-with-Ansible-module/m-p/145421#M275</guid>
      <dc:creator>gaurav_verma</dc:creator>
      <dc:date>2025-06-04T13:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if volume/qtree exist with Ansible module.</title>
      <link>https://community.netapp.com/t5/General-Discussion/How-to-check-if-volume-qtree-exist-with-Ansible-module/m-p/145516#M277</link>
      <description>&lt;P&gt;Never mind I got na_ontap_gather_facts for this in Ansible 2.7. It gives more information than I was expecting.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 13:49:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/General-Discussion/How-to-check-if-volume-qtree-exist-with-Ansible-module/m-p/145516#M277</guid>
      <dc:creator>gaurav_verma</dc:creator>
      <dc:date>2018-12-20T13:49:07Z</dc:date>
    </item>
  </channel>
</rss>

