fix ssh tasks

This commit is contained in:
Jack Ivanov 2017-03-19 21:45:21 +03:00
parent 592f43d44c
commit 9daec9be9e

View File

@ -14,7 +14,8 @@
mode: '0600' mode: '0600'
- name: Configure the local ssh config - name: Configure the local ssh config
blockinfile: local_action:
module: blockinfile
dest: "~/.ssh/config" dest: "~/.ssh/config"
marker: "# {mark} ALGO MANAGED BLOCK {{ cloud_instance_ip|default(server_ip) }}" marker: "# {mark} ALGO MANAGED BLOCK {{ cloud_instance_ip|default(server_ip) }}"
insertbefore: BOF insertbefore: BOF