1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Forgot to add an assertion for the new rsync_path test

This commit is contained in:
James Cammarata 2014-04-29 15:53:08 -05:00
parent cf54098dab
commit dc4f198bad

View file

@ -62,3 +62,14 @@
register: sync_result
- debug: var=sync_result
- assert:
that:
- "'changed' in sync_result"
- "sync_result.changed == true"
- "'cmd' in sync_result"
- "'rsync' in sync_result.cmd"
- "'rsync_path' in sync_result.cmd"
- "'msg' in sync_result"
- "sync_result.msg.startswith('>f+')"
- "sync_result.msg.endswith('+ foo.txt\n')"