ansible/test/integration/targets/file/tasks/diff_peek.yml
Sam Doran 9b7198d25e
file - change _diff_peek type in argument_spec ()
* Add integration tests
* Handle error in _get_diff_data()
* Change to warning rather than error
* Also change failure to warning in assemble action plugin
2020-01-17 16:02:28 -05:00

10 lines
263 B
YAML

- 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