From 44d6ca771a5e851705957a1dc46c0e5d89fb1a0a Mon Sep 17 00:00:00 2001 From: David Wilson Date: Wed, 7 Nov 2018 02:26:52 +0000 Subject: [PATCH] issue #426: fix local/delegate_to issue --- tests/ansible/bench/file_transfer.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/ansible/bench/file_transfer.yml b/tests/ansible/bench/file_transfer.yml index d0ac727d..2ca46f1c 100644 --- a/tests/ansible/bench/file_transfer.yml +++ b/tests/ansible/bench/file_transfer.yml @@ -5,11 +5,11 @@ tasks: - name: Make 32MiB file - connection: local + delegate_to: localhost shell: openssl rand 33554432 > /tmp/bigfile.in - name: Make 320MiB file - connection: local + delegate_to: localhost shell: > cat /tmp/bigfile.in @@ -47,21 +47,21 @@ file: path: "{{item}}" state: absent - connection: local + delegate_to: localhost become: true with_items: - /tmp/bigfile.out - /tmp/bigbigfile.out - name: Copy 32MiB file via localhost sudo - connection: local + delegate_to: localhost become: true copy: src: /tmp/bigfile.in dest: /tmp/bigfile.out - name: Copy 320MiB file via localhost sudo - connection: local + delegate_to: localhost become: true copy: src: /tmp/bigbigfile.in