Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Snapshot list sample
- hosts: localhost
connection: local
gather_facts: false
tasks:
- name: Get snapshots
ec2_snapshot:
volume_id: vol-e054b3fd
region: us-west-1
state: list
register: snap
- name: List snaps
debug: var=snap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment