Advertisement
greatbn

snapshot-workflows

Jun 23rd, 2016
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.29 KB | None | 0 0
  1.  volume_snapshot:
  2.     input:
  3.      - volume_id
  4.     output:
  5.       snapshot_id: <% $.snapshot_id %>
  6.     tasks:
  7.       snapshot_volume:
  8.         action: nova.volume_snapshots_create volume_id=<% $.volume_id %>
  9.         publish:
  10.           snapshot_id: <% task(snapshot_volume).result.id %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement