diff --git a/test/integration/roles/test_copy/tasks/main.yml b/test/integration/roles/test_copy/tasks/main.yml index 5e77295fbb..8bb13b4502 100644 --- a/test/integration/roles/test_copy/tasks/main.yml +++ b/test/integration/roles/test_copy/tasks/main.yml @@ -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