Use ansible before/after convention for diff
parent
80604fc232
commit
ea5b0e717d
|
@ -150,7 +150,7 @@ class ActionModule(ActionBase):
|
|||
except urllib.error.HTTPError: # We will create the page.
|
||||
raw = ""
|
||||
|
||||
diff = difflib.unified_diff(raw.splitlines(), content.splitlines(), fromfile="old", tofile="new", lineterm="")
|
||||
diff = difflib.unified_diff(raw.splitlines(), content.splitlines(), fromfile="before", tofile=f"after: {url}", lineterm="")
|
||||
i=0
|
||||
|
||||
# Display any change
|
||||
|
|
Loading…
Reference in New Issue