Change some prompts #52

This commit is contained in:
Evgeniy Ivanov 2016-08-18 11:48:30 +03:00
parent d914b566af
commit e618cdf0ce
2 changed files with 3 additions and 7 deletions

2
algo
View file

@ -7,7 +7,7 @@ algo_provisioning () {
1. DigitalOcean 1. DigitalOcean
2. Amazon EC2 2. Amazon EC2
3. Google Compute Engine 3. Google Compute Engine
4. Remote installation (install to existing Ubuntu server) 4. Install to existing Ubuntu server
Enter the number of your desired provider Enter the number of your desired provider
: " : "

View file

@ -5,11 +5,11 @@
vars_prompt: vars_prompt:
- name: "server_ip" - name: "server_ip"
prompt: "Enter IP address of your server:\n" prompt: "Enter IP address of your server: (use localhost for local installation)\n"
private: no private: no
- name: "server_user" - name: "server_user"
prompt: "What user should we use to login on the server?:\n" prompt: "What user should we use to login on the server? (Ignore if you're deploying to localhost):\n"
default: "root" default: "root"
private: no private: no
@ -39,10 +39,6 @@
auditd_enabled: " {{ auditd_enabled }}" auditd_enabled: " {{ auditd_enabled }}"
easyrsa_p12_export_password: "{{ easyrsa_p12_export_password }}" easyrsa_p12_export_password: "{{ easyrsa_p12_export_password }}"
- name: Wait for SSH to become available
local_action: "wait_for port=22 host={{ server_ip }} timeout=320"
become: false
- name: Post-provisioning tasks - name: Post-provisioning tasks
hosts: vpn-host hosts: vpn-host
gather_facts: false gather_facts: false