mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 15:45:20 +01:00
Exclude "synchronize file to new filename" task and assertion
Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
parent
c879a70bed
commit
76bd789291
1 changed files with 8 additions and 8 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue