some fixes

pull/171/head
Jack Ivanov 8 years ago
parent 1d07200c74
commit 90cc5fa1f7

17
algo

@ -87,10 +87,6 @@ Enter your azure subscription_id (https://docs.ansible.com/ansible/guide_azure.h
You can skip this step if you want to use your defaults credentials from ~/.azure/credentials
[...]: " -rs azure_subscription_id
read -p "
Enter the local path to your SSH public key (~/.ssh/id_rsa.pub): " -r ssh_public_key
ssh_public_key=${ssh_public_key:-$HOME/.ssh/id_rsa.pub}
read -p "
Name the vpn server:
@ -143,10 +139,6 @@ digitalocean () {
Enter your API token (https://cloud.digitalocean.com/settings/api/tokens):
: " -rs do_access_token
read -p "
Enter an existing SSH key name (https://cloud.digitalocean.com/settings/security):
: " -r do_ssh_name
read -p "
Name the vpn server:
[algo.local]: " -r do_server_name
@ -200,11 +192,6 @@ Enter your aws_secret_key (http://docs.aws.amazon.com/general/latest/gr/managing
Note: Make sure to use either your root key (recommended) or an IAM user with an acceptable policy attached
[ABCD...]: " -rs aws_secret_key
read -p "
Enter the local path to your SSH public key (~/.ssh/id_rsa.pub): " -r ssh_public_key
ssh_public_key=${ssh_public_key:-$HOME/.ssh/id_rsa.pub}
read -p "
Name the vpn server:
[algo]: " -r aws_server_name
@ -254,10 +241,6 @@ gce () {
Enter the local path to your credentials JSON file (https://support.google.com/cloud/answer/6158849?hl=en&ref_topic=6262490#serviceaccounts):
: " -r credentials_file
read -p "
Enter the local path to your SSH public key (~/.ssh/id_rsa.pub): " -r ssh_public_key
ssh_public_key=${ssh_public_key:-$HOME/.ssh/id_rsa.pub}
read -p "
Name the vpn server:
[algo]: " -r server_name

@ -39,7 +39,7 @@
digital_ocean:
state: present
command: ssh
name: "{{ SSH_keys.comment }}"
ssh_pub_key: "{{ public_key }}"
api_token: "{{ do_access_token }}"
register: do_ssh_key

Loading…
Cancel
Save