summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/file/tasks/diff_peek.yml
blob: 802a99aaba5376bf6940934484427dce401a4cc1 (plain)
1
2
3
4
5
6
7
8
9
10
- name: Run task with _diff_peek
  file:
    path: "{{ output_file }}"
    _diff_peek: yes
  register: diff_peek_result

- name: Ensure warning was not issued when using _diff_peek parameter
  assert:
    that:
      - diff_peek_result['warnings'] is not defined