From f06e789753be0d2b0d202334bfa9b02332061da6 Mon Sep 17 00:00:00 2001 From: Jack Ivanov Date: Wed, 11 Jul 2018 18:54:59 +0300 Subject: [PATCH] rename droplet to server --- playbooks/cloud-post.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playbooks/cloud-post.yml b/playbooks/cloud-post.yml index cd7ac461..283ed60a 100644 --- a/playbooks/cloud-post.yml +++ b/playbooks/cloud-post.yml @@ -3,7 +3,7 @@ set_fact: IP_subject_alt_name: "{% if algo_provider == 'local' %}{{ IP_subject_alt_name }}{% else %}{{ cloud_instance_ip }}{% endif %}" -- name: Add the droplet to an inventory group +- name: Add the server to an inventory group add_host: name: "{% if cloud_instance_ip == 'localhost' %}localhost{% else %}{{ cloud_instance_ip }}{% endif %}" groups: vpn-host @@ -21,7 +21,7 @@ algo_store_cakey: "{{ algo_store_cakey }}" IP_subject_alt_name: "{{ IP_subject_alt_name }}" -- name: Additional variables for the droplet +- name: Additional variables for the server add_host: name: "{% if cloud_instance_ip == 'localhost' %}localhost{% else %}{{ cloud_instance_ip }}{% endif %}" ansible_ssh_private_key_file: "{{ SSH_keys.private }}" @@ -39,7 +39,7 @@ - debug: var: IP_subject_alt_name - + - name: A short pause, in order to be sure the instance is ready pause: seconds: 20