mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-08-03 13:25:00 +00:00
sanity fix in tests
This commit is contained in:
@@ -339,15 +339,15 @@
|
||||
- stat_result_b.stat.exists == True
|
||||
- stat_result_b.stat.checksum == '2aae6c35c94fcfb415dbe95f408b9ce91ee846ed'
|
||||
|
||||
- name: synchronize files with quiet option
|
||||
synchronize:
|
||||
- name: Synchronize files with quiet option
|
||||
ansible.posix.synchronize:
|
||||
src: '{{ output_dir }}/foo.txt'
|
||||
dest: '{{ output_dir }}/foo.result'
|
||||
quiet: true
|
||||
register: sync_result
|
||||
|
||||
- name: Assertion for synchronize with quiet option
|
||||
assert:
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- '''files/directories have been synchronized'' in sync_result.msg'
|
||||
|
||||
@@ -359,7 +359,7 @@
|
||||
- foo.result
|
||||
- bar.result
|
||||
|
||||
- name: synchronize files without quiet option
|
||||
- name: Synchronize files without quiet option
|
||||
synchronize:
|
||||
src: '{{ output_dir }}/foo.txt'
|
||||
dest: '{{ output_dir }}/foo.result'
|
||||
|
||||
Reference in New Issue
Block a user