mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
actually use the read source contents for the diff
This commit is contained in:
parent
45cebd283f
commit
13c91ef9d4
1 changed files with 1 additions and 1 deletions
|
@ -541,7 +541,7 @@ class ActionBase:
|
|||
diff['src_larger'] = C.MAX_FILE_SIZE_FOR_DIFF
|
||||
else:
|
||||
diff['after_header'] = source
|
||||
diff['after'] = src.read()
|
||||
diff['after'] = src_contents
|
||||
else:
|
||||
self._display.debug("source of file passed in")
|
||||
diff['after_header'] = 'dynamically generated'
|
||||
|
|
Loading…
Reference in a new issue