diff --git a/tests/integration/targets/synchronize/tasks/main.yml b/tests/integration/targets/synchronize/tasks/main.yml index 125a406..fb332b3 100644 --- a/tests/integration/targets/synchronize/tasks/main.yml +++ b/tests/integration/targets/synchronize/tasks/main.yml @@ -19,23 +19,23 @@ - foo.txt - bar.txt -- name: synchronize file to new filename - synchronize: - src: '{{output_dir}}/foo.txt' - dest: '{{output_dir}}/foo.result' - register: sync_result - delegate_to: '{{ inventory_hostname }}' -- 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 - - '')' +#- name: synchronize file to new filename +# synchronize: +# src: '{{output_dir}}/foo.txt' +# dest: '{{output_dir}}/foo.result' +# register: sync_result +# delegate_to: '{{ inventory_hostname }}' +#- 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 +# +# '')' - name: test that the file was really copied over stat: path: '{{ output_dir }}/foo.result'