diff options
Diffstat (limited to '')
-rw-r--r-- | test/integration/targets/copy/tasks/main.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/integration/targets/copy/tasks/main.yml b/test/integration/targets/copy/tasks/main.yml index d46b783d74..eba932f819 100644 --- a/test/integration/targets/copy/tasks/main.yml +++ b/test/integration/targets/copy/tasks/main.yml @@ -109,6 +109,20 @@ - name: tests with remote_src and non files import_tasks: src_remote_file_is_not_file.yml + - name: Test internal options + copy: + content: 'irrelevant' + dest: '{{ local_temp_dir}}/file.txt' + _diff_peek: true + register: peek + ignore_errors: true + + - name: Test internal options + assert: + that: + - peek is failed + - "'_diff_peek' in peek['msg']" + always: - name: Cleaning file: |