mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 23:21:22 -07:00
parent
58d857f235
commit
8bd245a6a2
2 changed files with 5 additions and 1 deletions
|
@ -370,7 +370,7 @@ def execute_touch(path, follow):
|
|||
raise
|
||||
|
||||
# Unfortunately, touch always changes the file because it updates file's timestamp
|
||||
return {'dest': path, 'changed': True}
|
||||
return {'dest': path, 'changed': True, 'diff': diff}
|
||||
|
||||
|
||||
def ensure_file_attributes(path, follow):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue