Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to check if volume/qtree exist with Ansible module.
2018-12-15
06:18 AM
2,237 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am using these modules na_ontap_volume & 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.
BTW, state: absent/present is also not working. Absent removes the volume and present allow task to be executed without any change.
Thanks
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never mind I got na_ontap_gather_facts for this in Ansible 2.7. It gives more information than I was expecting.
