mirror of https://github.com/trailofbits/algo
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
286 B
Plaintext
19 lines
286 B
Plaintext
8 years ago
|
#!/bin/sh
|
||
|
|
||
|
echo -n "
|
||
|
What provider would you like to use?
|
||
|
1. DigitalOcean
|
||
|
3. Amazon EC2
|
||
|
Enter the number of your desired provider
|
||
|
: "
|
||
|
|
||
|
read N
|
||
|
|
||
|
case "$N" in
|
||
|
1) CLOUD="digitalocean" ;;
|
||
|
2) CLOUD="ec2" ;;
|
||
|
*) exit 1 ;;
|
||
|
esac
|
||
|
|
||
|
ansible-playbook deploy.yml -e "provider=${CLOUD}"
|