mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-26 00:16:49 +00:00
added test for first_available and copy
This commit is contained in:
@@ -250,3 +250,9 @@
|
||||
assert:
|
||||
that:
|
||||
- replace_follow_result.checksum == target_file_result.stdout
|
||||
|
||||
- name: test first avialable file
|
||||
copy: dest={{output_dir}}/faf_test
|
||||
first_available_file:
|
||||
- doesntexist.txt
|
||||
- foo.txt
|
||||
|
||||
Reference in New Issue
Block a user