--- - 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' ]