library/roles/letsencrypt-acmetool-client: Install libcap2-bin too. Needed to let acmetool bind port 80 when needed.

This commit is contained in:
Andrea Dell'Amico 2016-10-03 22:56:27 +02:00
parent bd076197a3
commit 7044dcd55f
2 changed files with 8 additions and 3 deletions

View File

@ -2,7 +2,11 @@
letsencrypt_acme_install: False
# Set to false if a binary installation is needed (unsupported distributions)
letsencrypt_pkg_install: True
letsencrypt_acme_ppa_repo: 'ppa:hlandau/rhea'
letsencrypt_acme_pkg_state: latest
letsencrypt_acme_pkgs:
- acmetool
- libcap2-bin
letsencrypt_acme_ppa_repo: 'ppa:hlandau/rhea'
letsencrypt_acme_debian_repo: 'deb http://ppa.launchpad.net/hlandau/rhea/ubuntu xenial main'
letsencrypt_acme_debian_repo_key: '9862409EF124EC763B84972FF5AC9651EDB58DFA'
letsencrypt_acme_user: acme

View File

@ -35,8 +35,9 @@
when: letsencrypt_acme_install
tags: letsencrypt
- name: Install the letsencrypt acmetool package
apt: pkg=acmetool state=installed
- name: Install the letsencrypt acmetool package and some deps
apt: pkg={{ item }} state={{ letsencrypt_acme_pkg_state }}
with_items: '{{ letsencrypt_acme_pkgs }}'
when:
- letsencrypt_acme_install
- letsencrypt_pkg_install