mirror of https://github.com/ansible/ansible.git
* Add integration tests
* Handle error in _get_diff_data()
* Change to warning rather than error
* Also change failure to warning in assemble action plugin
(cherry picked from commit 9b7198d25e
)
Co-authored-by: Sam Doran <sdoran@redhat.com>
pull/67297/head
parent
3284262a60
commit
c4f1e04bef
@ -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