diff options
author | Sam Doran <sdoran@redhat.com> | 2020-01-17 16:02:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-17 16:02:28 -0500 |
commit | 9b7198d25ecf084b6a465ba445efd426022265c3 (patch) | |
tree | c9f154541144191c839074a9b9a064be1c4810ae /lib/ansible/modules/files | |
parent | 9a51dff0b17f01bcb280a438ecfe785e5fda4541 (diff) | |
download | ansible-9b7198d25ecf084b6a465ba445efd426022265c3.tar.gz |
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 plugin
Diffstat (limited to 'lib/ansible/modules/files')
-rw-r--r-- | lib/ansible/modules/files/file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/files/file.py b/lib/ansible/modules/files/file.py index 575f3c7d27..33a61516bf 100644 --- a/lib/ansible/modules/files/file.py +++ b/lib/ansible/modules/files/file.py @@ -886,7 +886,7 @@ def main(): recurse=dict(type='bool', default=False), force=dict(type='bool', default=False), # Note: Should not be in file_common_args in future follow=dict(type='bool', default=True), # Note: Different default than file_common_args - _diff_peek=dict(type='str'), # Internal use only, for internal checks in the action plugins + _diff_peek=dict(type='bool'), # Internal use only, for internal checks in the action plugins src=dict(type='path'), # Note: Should not be in file_common_args in future modification_time=dict(type='str'), modification_time_format=dict(type='str', default='%Y%m%d%H%M.%S'), |