2021-04-10 12:17:47 -05:00
|
|
|
---
|
|
|
|
# Ensure certbot is installed.
|
|
|
|
|
|
|
|
- name: Server | Software | Certbot | FreeBSD
|
|
|
|
package:
|
|
|
|
name:
|
|
|
|
- py37-certbot
|
|
|
|
- py37-certbot-nginx
|
|
|
|
state: present
|
2021-04-10 12:56:37 -05:00
|
|
|
when: ansible_system == "FreeBSD"
|
2021-04-10 12:17:47 -05:00
|
|
|
|
2021-04-10 12:23:22 -05:00
|
|
|
- name: Server | Software | Certbot | Apt
|
2021-04-10 12:17:47 -05:00
|
|
|
package:
|
2021-04-10 12:23:22 -05:00
|
|
|
name:
|
|
|
|
- certbot
|
|
|
|
- python3-certbot-nginx
|
|
|
|
state: present
|
2021-04-10 12:17:47 -05:00
|
|
|
when: ansible_pkg_mgr == "apt"
|