--- # Ensure certbot is installed. - name: Server | Software | Certbot | FreeBSD package: name: - py38-certbot - py38-certbot-nginx state: present when: ansible_system == "FreeBSD" - name: Server | Software | Certbot | Apt package: name: - certbot - python3-certbot-nginx state: present when: ansible_pkg_mgr == "apt"