From ece7ff42eda95c55a933f89fdd55273653295d82 Mon Sep 17 00:00:00 2001 From: Jack Ivanov Date: Sun, 21 Apr 2019 09:39:37 +0200 Subject: [PATCH] Vultr: Undefined variable and deprecation notes fix --- roles/cloud-vultr/tasks/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/cloud-vultr/tasks/main.yml b/roles/cloud-vultr/tasks/main.yml index a1dfa90e..03b23743 100644 --- a/roles/cloud-vultr/tasks/main.yml +++ b/roles/cloud-vultr/tasks/main.yml @@ -1,16 +1,16 @@ --- -- block: - - name: Include prompts - import_tasks: prompts.yml +- name: Include prompts + import_tasks: prompts.yml +- block: - name: Upload the SSH key - vr_ssh_key: + vultr_ssh_key: name: "{{ SSH_keys.comment }}" ssh_key: "{{ lookup('file', '{{ SSH_keys.public }}') }}" register: ssh_key - name: Creating a server - vr_server: + vultr_server: name: "{{ algo_server_name }}" hostname: "{{ algo_server_name }}" os: "{{ cloud_providers.vultr.os }}"