forked from ISTI-ansible-roles/ansible-roles
library/roles/letsencrypt-acmetool-client: Install libcap2-bin too. Needed to let acmetool bind port 80 when needed.
This commit is contained in:
parent
bd076197a3
commit
7044dcd55f
|
@ -2,7 +2,11 @@
|
||||||
letsencrypt_acme_install: False
|
letsencrypt_acme_install: False
|
||||||
# Set to false if a binary installation is needed (unsupported distributions)
|
# Set to false if a binary installation is needed (unsupported distributions)
|
||||||
letsencrypt_pkg_install: True
|
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: 'deb http://ppa.launchpad.net/hlandau/rhea/ubuntu xenial main'
|
||||||
letsencrypt_acme_debian_repo_key: '9862409EF124EC763B84972FF5AC9651EDB58DFA'
|
letsencrypt_acme_debian_repo_key: '9862409EF124EC763B84972FF5AC9651EDB58DFA'
|
||||||
letsencrypt_acme_user: acme
|
letsencrypt_acme_user: acme
|
||||||
|
|
|
@ -35,8 +35,9 @@
|
||||||
when: letsencrypt_acme_install
|
when: letsencrypt_acme_install
|
||||||
tags: letsencrypt
|
tags: letsencrypt
|
||||||
|
|
||||||
- name: Install the letsencrypt acmetool package
|
- name: Install the letsencrypt acmetool package and some deps
|
||||||
apt: pkg=acmetool state=installed
|
apt: pkg={{ item }} state={{ letsencrypt_acme_pkg_state }}
|
||||||
|
with_items: '{{ letsencrypt_acme_pkgs }}'
|
||||||
when:
|
when:
|
||||||
- letsencrypt_acme_install
|
- letsencrypt_acme_install
|
||||||
- letsencrypt_pkg_install
|
- letsencrypt_pkg_install
|
||||||
|
|
Loading…
Reference in New Issue