Compare commits

...

2 commits

Author SHA1 Message Date
Mandar Kulkarni
07960dc1a3
Merge c401a5d331 into fd78e3e6da 2024-06-07 22:03:54 +00:00
Mandar Kulkarni
c401a5d331 sanity fix in tests 2024-06-07 15:03:48 -07:00

View file

@ -352,7 +352,7 @@
- '''files/directories have been synchronized'' in sync_result.msg' - '''files/directories have been synchronized'' in sync_result.msg'
- name: Cleanup - name: Cleanup
file: ansible.builtin.file:
state: absent state: absent
path: '{{ output_dir }}/{{ item }}' path: '{{ output_dir }}/{{ item }}'
loop: loop:
@ -360,13 +360,13 @@
- bar.result - bar.result
- name: Synchronize files without quiet option - name: Synchronize files without quiet option
synchronize: ansible.posix.synchronize:
src: '{{ output_dir }}/foo.txt' src: '{{ output_dir }}/foo.txt'
dest: '{{ output_dir }}/foo.result' dest: '{{ output_dir }}/foo.result'
register: sync_result register: sync_result
- name: Assertion for synchronize without quiet option - name: Assertion for synchronize without quiet option
assert: ansible.builtin.assert:
that: that:
- '''files/directories have been synchronized'' not in sync_result.msg' - '''files/directories have been synchronized'' not in sync_result.msg'