forked from ISTI-ansible-roles/ansible-roles
Merge branch 'master' of adellam/ansible-roles into master
This commit is contained in:
commit
bdda0554e3
|
@ -1,14 +1,11 @@
|
|||
---
|
||||
- import_tasks: old_acmetool_deb.yml
|
||||
when: ansible_distribution_file_variety == "Debian"
|
||||
|
||||
- import_tasks: old_acmetool_rh.yml
|
||||
when: ansible_distribution_file_variety == "RedHat"
|
||||
|
||||
- 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: Remove the sudoers config needed to run the old acmetool package hooks
|
||||
file: dest=/etc/sudoers.d/letsencrypt-acme state=absent
|
||||
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
- 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
|
||||
|
||||
tags: [ 'letsencrypt', 'letsencrypt_acme_sh' ]
|
|
@ -0,0 +1,8 @@
|
|||
- 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
|
||||
|
||||
tags: [ 'letsencrypt', 'letsencrypt_acme_sh' ]
|
Loading…
Reference in New Issue