Use ansible before/after convention for diff

certbot_on_virtu
_pollion 2020-12-30 13:29:26 +01:00
parent 80604fc232
commit ea5b0e717d
1 changed files with 1 additions and 1 deletions

View File

@ -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