ads' corner

Certificate expiration date in Ansible

In one of my Ansible Playbooks I’m updating Let’s Encrypt certificates. Because the Playbook is rather long, I want to make sure that Ansible is not spending cycles on a certificate which is not about to expire. Hence I wrote a small filter plugin, which receives the certificate path and the number of days the certificate must be still valid.

This plugin is used to filter out any “good” certificate which does not need to be updated.


Create and renew Let's Encrypt certificates using Ansible

Update: Blog post using the acme_certificate module can be found here.

Ansible comes with a plugin which allows to create and renew Let’s Encrypt certificates. Documentation is sparse, so I decided to post about my own Playbook.


Mit der Polizei sicher durch das Internet

Die Polizei des Landes Sachsen-Anhalt hat eine eigene Webseite. Um besorgten Bürgern die Möglichkeit einer Anzeige zu geben ohne das diese sofort in die nächste Dienststelle laufen müssen, gibt es das eRevier. Nun möchte man natürlich nicht, das jeder Hinz und Kunz die übermittelte Anzeige mitliest: daher wird die Seite mittels https ausgeliefert. So weit, so gut.