Last active
December 14, 2015 13:08
-
-
Save dornatsky/5091690 to your computer and use it in GitHub Desktop.
multi-line shell script
This file contains hidden or 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
launch: | |
parameters: | |
- ip: | |
description: static ip address | |
default: "" | |
steps: | |
- grow: | |
action: provisionAmazonVm | |
parameters: | |
phase: provision | |
roleName: dummy | |
output: | |
ips: ips | |
- test: | |
action: execrun | |
parameters: | |
roles: [dummy] | |
phase: run | |
precedingPhases: [provision] | |
command: | |
- python | |
- "-c" | |
- | | |
for i in range(0,3): | |
print str(i) + ") Hi there!" | |
output: | |
out: stdout | |
return: | |
out: | |
value: ${out} | |
ips: | |
value: ${ips} | |
destroy: | |
steps: | |
- destroy: | |
action: compute.shrink-all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment