rename the cloud roles

This commit is contained in:
Dan Guido 2016-08-16 00:00:26 -04:00
parent f538ffe4e8
commit 0fd0de17d4
14 changed files with 10 additions and 13 deletions

13
algo
View file

@ -13,8 +13,8 @@ algo_provisioning () {
What provider would you like to use? What provider would you like to use?
1. DigitalOcean 1. DigitalOcean
2. Amazon EC2 2. Amazon EC2
3. Google-cloud 3. Google Cloud Engine
0. Local installation (non-cloud or a server already deployed) 4. Remote installation (install to existing Ubuntu server)
Enter the number of your desired provider Enter the number of your desired provider
: " : "
@ -22,10 +22,10 @@ Enter the number of your desired provider
read N read N
case "$N" in case "$N" in
1) CLOUD="digitalocean" ;; 1) CLOUD="digitalocean" ;;
2) CLOUD="ec2" ;; 2) CLOUD="ec2" ;;
3) CLOUD="google_cloud" ;; 3) CLOUD="gce" ;;
0) CLOUD="non-cloud" ;; 4) CLOUD="non-cloud" ;;
*) exit 1 ;; *) exit 1 ;;
esac esac
@ -43,6 +43,3 @@ case "$1" in
update-users) user_management ;; update-users) user_management ;;
*) algo_provisioning ;; *) algo_provisioning ;;
esac esac

View file

@ -71,7 +71,7 @@
#private: no #private: no
roles: roles:
- azure - cloud-azure
- name: Post-provisioning tasks - name: Post-provisioning tasks
hosts: vpn-host hosts: vpn-host

View file

@ -58,7 +58,7 @@
private: no private: no
roles: roles:
- digitalocean - cloud-digitalocean
- name: Post-provisioning tasks - name: Post-provisioning tasks
hosts: vpn-host hosts: vpn-host

View file

@ -67,7 +67,7 @@
private: no private: no
roles: roles:
- ec2 - cloud-ec2
- name: Post-provisioning tasks - name: Post-provisioning tasks
hosts: vpn-host hosts: vpn-host

View file

@ -63,7 +63,7 @@
private: no private: no
roles: roles:
- google_cloud - cloud-gce
- name: Post-provisioning tasks - name: Post-provisioning tasks
hosts: vpn-host hosts: vpn-host