freephile / meza

Setup an enterprise MediaWiki server with simple commands
MIT License
0 stars 0 forks source link

Add role for provisioning TLS certificate (certbot / letsencrypt) #130

Open freephile opened 5 days ago

freephile commented 5 days ago

We need a role that provides TLS certificates and automatically renews them.

Certbot will do this. Thank you Lets Encrypt!

Jeff Geerling wrote an Ansible certbot role for the installation and setup.

I previously created a certbot role for QualityBox that integrates with the way that Meza provisions a self-signed cert (meza.pem).

freephile commented 5 days ago

We could install with Ansible Galaxy

ansible-galaxy install geerlingguy.certbot

or use requirements.yml to get it installed (example sources from GitHub instead of Galaxy)

  - name: geerlingguy.certbot
    src: https://github.com/geerlingguy/ansible-role-certbot
    version: 5.1.1

But since we want to integrate it, it's best to include it in a playbook