Exclude "synchronize file to new filename" task and assertion

Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
Hideki Saito 2022-03-12 19:50:52 +09:00
parent c879a70bed
commit 76bd789291

View file

@ -36,14 +36,14 @@
# - 'sync_result.msg.endswith(''+ foo.txt
#
# '')'
- name: test that the file was really copied over
stat:
path: '{{ output_dir }}/foo.result'
register: stat_result
- assert:
that:
- stat_result.stat.exists == True
- stat_result.stat.checksum == '2aae6c35c94fcfb415dbe95f408b9ce91ee846ed'
#- name: test that the file was really copied over
# stat:
# path: '{{ output_dir }}/foo.result'
# register: stat_result
#- assert:
# that:
# - stat_result.stat.exists == True
# - stat_result.stat.checksum == '2aae6c35c94fcfb415dbe95f408b9ce91ee846ed'
- name: test that the file is not copied a second time
synchronize: