From d2d0db41c7effa5df17185c916e38989560e606e Mon Sep 17 00:00:00 2001 From: Andrea Cimbalo Date: Mon, 10 Apr 2017 18:48:53 +0200 Subject: [PATCH] fix hostname in ssh_server --- roles/ssh_server/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ssh_server/tasks/main.yaml b/roles/ssh_server/tasks/main.yaml index 305f051..a9454f9 100644 --- a/roles/ssh_server/tasks/main.yaml +++ b/roles/ssh_server/tasks/main.yaml @@ -30,7 +30,7 @@ type: 'sign_request' request: keyType: 'ssh_host' - hostName: '{{ ansible_docker_extra_args | default(ansible_hostname) }}.lilik.it' + hostName: '{{ ansible_docker_extra_args | default(inventory_hostname) }}.lilik.it' keyData: "{{ vm_public_key['content'] | b64decode | replace('\n', '')}}" - debug: