library/roles/letsencrypt-client: Install the official letsencrypt client. No automation for now.
d4science-ghn-cluster/roles/haproxy_frontend: default repository for Ubuntu. d4science-ghn-cluster/infra-gateway.yml: Install haproxy.
This commit is contained in:
parent
2cd71c9e10
commit
1fd136d485
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
letsencrypt_install: False
|
||||||
|
letsencrypt_git_repo: 'https://github.com/letsencrypt/letsencrypt'
|
||||||
|
letsencrypt_dest_dir: /opt
|
||||||
|
letsencrypt_update_repo: True
|
||||||
|
letsencrypt_prerequisites:
|
||||||
|
- git
|
||||||
|
- bc
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
- name: Install the letsencrypt package dependencies
|
||||||
|
apt: name={{ item }} state=present
|
||||||
|
with_items: '{{ letsencrypt_prerequisites }}'
|
||||||
|
when: letsencrypt_install
|
||||||
|
tags: letsencrypt
|
||||||
|
|
||||||
|
- name: Get the letsencrypt client
|
||||||
|
git: repo={{ letsencrypt_git_repo }} dest={{ letsencrypt_dest_dir }}/letsencrypt update={{ letsencrypt_update_repo }}
|
||||||
|
with_items: '{{ letsencrypt_prerequisites }}'
|
||||||
|
when: letsencrypt_install
|
||||||
|
tags: letsencrypt
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue