diff options
author | Tom Paine <aioue@users.noreply.github.com> | 2016-11-02 11:29:12 +0000 |
---|---|---|
committer | Michael Scherer <mscherer@users.noreply.github.com> | 2016-11-06 14:42:02 +0100 |
commit | 63e6d3a4601c191ea40ec70ce1587aa53492683d (patch) | |
tree | a7eb5ba2c9d36449d8059f28cbe395ba630303ce /web_infrastructure | |
parent | cc0d3cb15fafc1b570b5e4854ec8ee4eaa170dd8 (diff) | |
download | ansible-modules-extras-63e6d3a4601c191ea40ec70ce1587aa53492683d.tar.gz |
Update letsencrypt.py
Minor spelling and TLA case.
Diffstat (limited to 'web_infrastructure')
-rw-r--r-- | web_infrastructure/letsencrypt.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web_infrastructure/letsencrypt.py b/web_infrastructure/letsencrypt.py index a43014a8..10e9f8dc 100644 --- a/web_infrastructure/letsencrypt.py +++ b/web_infrastructure/letsencrypt.py @@ -204,7 +204,7 @@ def get_cert_days(module,cert_file): except AttributeError: module.fail_json(msg="No 'Not after' date found in {0}".format(cert_file)) except ValueError: - module.fail_json(msg="Faild to parse 'Not after' date of {0}".format(cert_file)) + module.fail_json(msg="Failed to parse 'Not after' date of {0}".format(cert_file)) now = datetime.datetime.utcnow() return (not_after - now).days @@ -261,8 +261,8 @@ def write_file(module, dest, content): class ACMEDirectory(object): ''' The ACME server directory. Gives access to the available resources - and the Replay-Nonce for a given uri. This only works for - uris that permit GET requests (so normally not the ones that + and the Replay-Nonce for a given URI. This only works for + URIs that permit GET requests (so normally not the ones that require authentication). https://tools.ietf.org/html/draft-ietf-acme-acme-02#section-6.2 ''' |