Skip to content
Snippets Groups Projects
Commit c381fcba authored by jurgenhaas's avatar jurgenhaas
Browse files

Improve local ansible setup to work even without remote sftp

parent b8f65f8f
Branches
Tags
No related merge requests found
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
- name: "Configure ansible" - name: "Configure ansible"
ini_file: ini_file:
dest: "~/.ansible.cfg" dest: "~/.ansible.cfg"
section: "defaults" section: "{{ item.section|default('defaults') }}"
option: "{{ item.option }}" option: "{{ item.option }}"
value: "{{ item.value }}" value: "{{ item.value }}"
with_items: with_items:
...@@ -109,3 +109,6 @@ ...@@ -109,3 +109,6 @@
value: "{{ lookup('env','HOME') }}/.ansible/facts" value: "{{ lookup('env','HOME') }}/.ansible/facts"
- option: "fact_caching_timeout" - option: "fact_caching_timeout"
value: "86400" value: "86400"
- option: "scp_if_ssh"
value: "True"
section: "ssh_connection"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment