ansible-role-letsencrypt-ac.../tasks/acmetool_rh.yml

16 lines
565 B
YAML

- block:
- name: Remove the old acme package because the tool is not supported anymore.
yum: pkg=acmetool state=absent
- name: Remove the acmetool repo file
file: dest=/etc/yum.repos.d/hlandau-acmetool-epel-7.repo state=absent
- name: Install the socat utility, needed when using the http protocols to request the certificates
yum: pkg=socat state=present
- name: Install the git client if we are installing using git
yum: pkg=git state=present
when: letsencrypt_acme_sh_git_install
tags: [ 'letsencrypt', 'letsencrypt_acme_sh' ]