Quantcast
Channel: ONTAP Discussions topics
Viewing all articles
Browse latest Browse all 4944

get latest snapshot using ansible or cli

$
0
0

I'm trying to get the latest snapshot for a volume using ansible or cli.  I already have a powershell script that will do just that but trying to move our scripts over to ansible.  I was using the na_ontap_info with snapshot_info but trying to run through all snapshots, putting them in a list with creation date and picking the newest, is very slow.  Just trying to find another way to pull that snapshot information.

 

Thanks everyone


Viewing all articles
Browse latest Browse all 4944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>