mirror of https://github.com/ansible/ansible.git
file - change _diff_peek type in argument_spec (#60428)
* Add integration tests * Handle error in _get_diff_data() * Change to warning rather than error * Also change failure to warning in assemble action pluginpull/66568/head
parent
9a51dff0b1
commit
9b7198d25e
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- file - change ``_diff_peek`` in argument spec to be the correct type, which is ``bool`` (https://github.com/ansible/ansible/issues/59433)
|
||||||
@ -0,0 +1,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
|
||||||
Loading…
Reference in New Issue