From c381fcba29a64969f342219db15774d231528f04 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Tue, 8 Sep 2015 17:13:00 +0200 Subject: [PATCH] Improve local ansible setup to work even without remote sftp --- setup_local.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup_local.yml b/setup_local.yml index ee1b0203..6af6fae8 100644 --- a/setup_local.yml +++ b/setup_local.yml @@ -91,7 +91,7 @@ - name: "Configure ansible" ini_file: dest: "~/.ansible.cfg" - section: "defaults" + section: "{{ item.section|default('defaults') }}" option: "{{ item.option }}" value: "{{ item.value }}" with_items: @@ -109,3 +109,6 @@ value: "{{ lookup('env','HOME') }}/.ansible/facts" - option: "fact_caching_timeout" value: "86400" + - option: "scp_if_ssh" + value: "True" + section: "ssh_connection" -- GitLab