mirror of
https://github.com/trailofbits/algo
synced 2024-11-16 12:12:55 +00:00
19 lines
286 B
Bash
Executable File
19 lines
286 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo -n "
|
|
What provider would you like to use?
|
|
1. DigitalOcean
|
|
2. 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}"
|