From 0f58593d64ce6126785dee3b3c49891113ce2929 Mon Sep 17 00:00:00 2001 From: Jack Ivanov Date: Tue, 13 Dec 2016 20:46:27 +0300 Subject: [PATCH] IP_subject_alt_name is not declared for localhost. Fixed #149 --- roles/ssh_tunneling/tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/ssh_tunneling/tasks/main.yml b/roles/ssh_tunneling/tasks/main.yml index ff787161..b279b021 100644 --- a/roles/ssh_tunneling/tasks/main.yml +++ b/roles/ssh_tunneling/tasks/main.yml @@ -1,5 +1,8 @@ --- +- set_fact: + IP_subject_alt_name: "{{ IP_subject_alt_name }}" + - name: Ensure that the sshd_config file has desired options blockinfile: dest: /etc/ssh/sshd_config