Created
June 26, 2015 20:49
-
-
Save mikerowehl/90f82eeb5933ff6a269b to your computer and use it in GitHub Desktop.
Snapshot list sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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