From 4570da4ff1412a0813e314482b5b7fe6ef8c3972 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 10 Apr 2021 12:17:47 -0500 Subject: [PATCH] Add certbot installation. --- tasks/server/software/certbot.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tasks/server/software/certbot.yml diff --git a/tasks/server/software/certbot.yml b/tasks/server/software/certbot.yml new file mode 100644 index 0000000..49060de --- /dev/null +++ b/tasks/server/software/certbot.yml @@ -0,0 +1,16 @@ +--- +# Ensure certbot is installed. + +- name: Server | Software | Certbot | FreeBSD + package: + name: + - py37-certbot + - py37-certbot-nginx + state: present + when: ansible_distribution == "FreeBSD" + +- name: Server | Software | Certbot | FreeBSD + package: + - certbot + - python3-certbot-nginx + when: ansible_pkg_mgr == "apt"