-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6214534
commit 2464178
Showing
3 changed files
with
41 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
- name: Remove obsolete Certbot PPA key | ||
apt_key: | ||
id: "{{ nginx_certbot_ubuntu_apt_key }}" | ||
# https://unix.stackexchange.com/a/110594 | ||
keyserver: "hkps://keyserver.ubuntu.com:443" | ||
state: absent | ||
become: true | ||
become_user: root | ||
|
||
- name: Remove obsolete Certbot PPA | ||
apt_repository: | ||
repo: >- | ||
deb | ||
http://ppa.launchpad.net/certbot/certbot/ubuntu | ||
{{ ansible_distribution_release }} | ||
main | ||
update_cache: true | ||
state: absent | ||
become: true | ||
become_user: root | ||
|
||
- name: Remove obsolete Certbot packages | ||
apt: | ||
name: | ||
# This is Python 3, but named differently in the PPA | ||
- python-certbot-nginx | ||
- python3-certbot-nginx | ||
- certbot | ||
- python3-certbot | ||
force_apt_get: true | ||
state: absent | ||
become: true | ||
become_user: root |