roles/nginx: Add dependencies for certbot on Ubuntu 18.04

Taken from running the Let's Encrypt certbot-auto client on a freshly
installed Ubuntu 18.04 system.
This commit is contained in:
2018-04-25 19:40:33 +03:00
parent ab27caf877
commit 12711afac9
2 changed files with 52 additions and 0 deletions

View File

@ -57,6 +57,13 @@
- zlib1g-dev
tags: packages
- name: Install certbot dependencies (Ubuntu 18.04)
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version_compare('18.04', '==')
apt: name={{ letsencrypt_ubuntu_bionic_deps }} state=present update_cache=yes
tags:
- packages
- letsencrypt
# dependencies certbot checks for on its first run
# taken from running certbot right after a clean Debian 9 install
- name: Install certbot dependencies (Debian 9)