From bbe5541c9b99e7105d29117cecbea250f5c10d8e Mon Sep 17 00:00:00 2001 From: Jack Ivanov Date: Tue, 28 Feb 2017 22:22:06 +0300 Subject: [PATCH] ssh_config fix --- playbooks/local_ssh.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/local_ssh.yml b/playbooks/local_ssh.yml index cf5c1751..20b8886d 100644 --- a/playbooks/local_ssh.yml +++ b/playbooks/local_ssh.yml @@ -18,6 +18,7 @@ dest: "~/.ssh/config" marker: "# {mark} ALGO MANAGED BLOCK {{ cloud_instance_ip|default(server_ip) }}" insertbefore: BOF + create: yes block: | Host {{ cloud_instance_ip|default(server_ip) }} IdentityFile ~/.ssh/algo.pem