Return changed=True if a new certificate was written (#41445)

pull/41495/head
Michael Scherer 6 years ago committed by ansibot
parent ad0827e5c0
commit 5bdd91d75f

@ -779,6 +779,7 @@ class AcmeCertificate(Certificate):
check_rc=True)[1]
with open(self.path, 'wb') as certfile:
certfile.write(to_bytes(crt))
self.changed = True
except OSError as exc:
raise CertificateError(exc)

Loading…
Cancel
Save