jetune.certbot

Ansible Linux based Docker role

Python Licence Travis Build Galaxy Role Downloads

Ansible role used to install Certbot on Linux based Operating System.

Supported OS

OS Distribution OS Version
CentOS 6, +
Ubuntu Xenial, Bionic, +

Role variables

Variable Description Default value
install_tool Flag that specify whether install or not Certbot true
generate_certs Flag that specify whether or not we generate certificates and install renew cron false
certs_validity Define the generated certificates validity days (before renew) 80
extra_packages Define extra packages to install with certbot (used for certbot plugins installation).
renew_post_command Command to execute after certificate renewal (for example : restart nginx).

Usage

  • Install Role ansible-galaxy install jetune.certbot
  • use in your playbook : case of install from repository
---
- hosts: all

  roles:
   - role: jetune.docker
     vars:
      install_tool: true
      generate_certs: true
      certs_validity: 90
      extra_packages:
       - certbot-dns-google
       - certbot-dns-cloudflare
      renew_post_command: "service nginx restart"
      
Install
ansible-galaxy install jetune.certbot
GitHub repository
License
apache-2.0
Downloads
36
Owner