From 3a26827e27e8d2b48bbb4f2eb35908170dc657b9 Mon Sep 17 00:00:00 2001 From: Hideki Saito Date: Sun, 13 Mar 2022 01:57:12 +0900 Subject: [PATCH] TEST --- .../targets/synchronize/tasks/main.yml | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/tests/integration/targets/synchronize/tasks/main.yml b/tests/integration/targets/synchronize/tasks/main.yml index a140387..1ca1c84 100644 --- a/tests/integration/targets/synchronize/tasks/main.yml +++ b/tests/integration/targets/synchronize/tasks/main.yml @@ -23,31 +23,31 @@ debug: msg: "{{ output_dir }}" -- block: - - name: test that the file was really copied over - stat: - path: "{{ output_dir }}/{{item}}" - with_items: - - foo.txt - - bar.txt - - name: synchronize file to new filename - synchronize: - src: "{{ output_dir }}/foo.txt" - dest: "{{ output_dir }}/foo.result" - register: sync_result - - assert: - that: - - '''changed'' in sync_result' - - sync_result.changed == true - - '''cmd'' in sync_result' - - '''rsync'' in sync_result.cmd' - - '''msg'' in sync_result' - - sync_result.msg.startswith('>f+') - - 'sync_result.msg.endswith(''+ foo.txt - - '')' - when: - - ansible_facts.virtualization_type != 'docker' +#- block: +# - name: test that the file was really copied over +# stat: +# path: "{{ output_dir }}/{{item}}" +# with_items: +# - foo.txt +# - bar.txt +# - name: synchronize file to new filename +# synchronize: +# src: "{{ output_dir }}/foo.txt" +# dest: "{{ output_dir }}/foo.result" +# register: sync_result +# - assert: +# that: +# - '''changed'' in sync_result' +# - sync_result.changed == true +# - '''cmd'' in sync_result' +# - '''rsync'' in sync_result.cmd' +# - '''msg'' in sync_result' +# - sync_result.msg.startswith('>f+') +# - 'sync_result.msg.endswith(''+ foo.txt +# +# '')' +# when: +# - ansible_facts.virtualization_type != 'docker' - block: - name: test that the file was really copied over