forked from ISTI-ansible-roles/ansible-roles
library/roles/letsencrypt-acmetool-client: New variable, default, true. If set to false the repository package installation is skipped. Useful to manage unsupported distributions.
This commit is contained in:
parent
1309a27c2e
commit
b861552351
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
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_debian_repo: 'deb http://ppa.launchpad.net/hlandau/rhea/ubuntu xenial main'
|
||||
letsencrypt_acme_debian_repo_key: '9862409EF124EC763B84972FF5AC9651EDB58DFA'
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
when:
|
||||
- letsencrypt_acme_install
|
||||
- is_ubuntu
|
||||
- letsencrypt_pkg_install
|
||||
notify: Initialize letsencrypt acmetool
|
||||
tags: letsencrypt
|
||||
|
||||
|
@ -12,6 +13,7 @@
|
|||
when:
|
||||
- letsencrypt_acme_install
|
||||
- is_debian
|
||||
- letsencrypt_pkg_install
|
||||
tags: letsencrypt
|
||||
|
||||
- name: Install the letsencrypt acmetool repo on debian
|
||||
|
@ -19,6 +21,7 @@
|
|||
when:
|
||||
- letsencrypt_acme_install
|
||||
- is_debian
|
||||
- letsencrypt_pkg_install
|
||||
notify: Initialize letsencrypt acmetool
|
||||
tags: letsencrypt
|
||||
|
||||
|
@ -34,7 +37,9 @@
|
|||
|
||||
- name: Install the letsencrypt acmetool package
|
||||
apt: pkg=acmetool state=installed
|
||||
when: letsencrypt_acme_install
|
||||
when:
|
||||
- letsencrypt_acme_install
|
||||
- letsencrypt_pkg_install
|
||||
tags: letsencrypt
|
||||
|
||||
- name: Create the letsencrypt acme config directory
|
||||
|
|
Loading…
Reference in New Issue