mirror of
https://github.com/trailofbits/algo.git
synced 2026-10-01 05:55:06 +02:00
rename the cloud roles
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@
|
||||
private: no
|
||||
|
||||
roles:
|
||||
- digitalocean
|
||||
- cloud-digitalocean
|
||||
|
||||
- name: Post-provisioning tasks
|
||||
hosts: vpn-host
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user