forked from ISTI-ansible-roles/ansible-roles
20 lines
810 B
YAML
20 lines
810 B
YAML
---
|
|
- block:
|
|
- name: Remove the old acme package because the tool is not supported anymore.
|
|
apt: pkg=acmetool state=absent purge=yes
|
|
|
|
- name: Remove the old letsencrypt acmetool repo on ubuntu
|
|
apt_repository: repo={{ letsencrypt_acme_ppa_repo }} state=absent update_cache=yes
|
|
|
|
- name: Remove the old letsencrypt acmetool repo on debian
|
|
apt_repository: repo={{ letsencrypt_acme_debian_repo }} state=absent update_cache=yes
|
|
|
|
- name: Install the socat utility, needed when using the http protocols to request the certificates
|
|
apt: pkg=socat state=present cache_valid_time=1800
|
|
|
|
- name: Install the git client if we are installing using git
|
|
apt: pkg=git state=present cache_valid_time=1800
|
|
when: letsencrypt_acme_sh_git_install
|
|
|
|
tags: [ 'letsencrypt', 'letsencrypt_acme_sh' ]
|