mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-05 22:54:01 +02:00
rename the cloud roles
This commit is contained in:
parent
f538ffe4e8
commit
0fd0de17d4
14 changed files with 10 additions and 13 deletions
15
algo
15
algo
|
@ -13,8 +13,8 @@ algo_provisioning () {
|
|||
What provider would you like to use?
|
||||
1. DigitalOcean
|
||||
2. Amazon EC2
|
||||
3. Google-cloud
|
||||
0. Local installation (non-cloud or a server already deployed)
|
||||
3. Google Cloud Engine
|
||||
4. Remote installation (install to existing Ubuntu server)
|
||||
|
||||
Enter the number of your desired provider
|
||||
: "
|
||||
|
@ -22,12 +22,12 @@ Enter the number of your desired provider
|
|||
read N
|
||||
|
||||
case "$N" in
|
||||
1) CLOUD="digitalocean" ;;
|
||||
1) CLOUD="digitalocean" ;;
|
||||
2) CLOUD="ec2" ;;
|
||||
3) CLOUD="google_cloud" ;;
|
||||
0) CLOUD="non-cloud" ;;
|
||||
3) CLOUD="gce" ;;
|
||||
4) CLOUD="non-cloud" ;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
esac
|
||||
|
||||
p12_export_password
|
||||
|
||||
|
@ -43,6 +43,3 @@ case "$1" in
|
|||
update-users) user_management ;;
|
||||
*) algo_provisioning ;;
|
||||
esac
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
#private: no
|
||||
|
||||
roles:
|
||||
- azure
|
||||
- cloud-azure
|
||||
|
||||
- name: Post-provisioning tasks
|
||||
hosts: vpn-host
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
private: no
|
||||
|
||||
roles:
|
||||
- digitalocean
|
||||
- cloud-digitalocean
|
||||
|
||||
- name: Post-provisioning tasks
|
||||
hosts: vpn-host
|
||||
|
|
2
ec2.yml
2
ec2.yml
|
@ -67,7 +67,7 @@
|
|||
private: no
|
||||
|
||||
roles:
|
||||
- ec2
|
||||
- cloud-ec2
|
||||
|
||||
- name: Post-provisioning tasks
|
||||
hosts: vpn-host
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
private: no
|
||||
|
||||
roles:
|
||||
- google_cloud
|
||||
- cloud-gce
|
||||
|
||||
- name: Post-provisioning tasks
|
||||
hosts: vpn-host
|
Loading…
Add table
Reference in a new issue