mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-06 15:13:56 +02:00
User friendly provider UI #28
This commit is contained in:
parent
a1a0d041b1
commit
988f72b428
1 changed files with 18 additions and 0 deletions
18
run
Executable file
18
run
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/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}"
|
Loading…
Add table
Reference in a new issue