mvarian.certbot-apache

certbot-apache

An ansible role to install certbot with the apache plugin on Debian and CentOS/RHEL-like systems.

Role Variables

certbot_generate_certificates: true
certbot_register_email: [email protected]
certbot_certificate_domains: "{{ domains }}"

If certbot_generate_certificates is true, certbot will automatically generate certificates for those domains and configure vhost files.

Example Playbook

- hosts servers

  vars: 

    certbot_generate_certificates: true
    certbot_register_email: [email protected]
  	certbot_certificate_domains:
  		- domain1.com
  		- domain2.com

      roles:
        - { role: certbot-apache, become: yes }
About

Install certbot with the apache plugin (certbot-apache) on Debian and CentOS/RHEL-like systems.

Install
ansible-galaxy install mvarian.certbot-apache
GitHub repository
License
mit
Downloads
49
Owner
I does computers