forked from StreisandEffect/streisand
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update files so it works on Ubuntu 20.04 (without OpenConnect and Tin…
…yproxy)
- Loading branch information
Showing
13 changed files
with
375 additions
and
88 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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
--- | ||
do_ubuntu_x64_image_id: "ubuntu-16-04-x64" | ||
do_ubuntu_x64_image_id: "ubuntu-20-04-x64" | ||
do_small_droplet_size_id: "s-1vcpu-1gb" |
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
keyserver {{ streisand_gpg_keyserver_address }} | ||
hkp-cacert /etc/ssl/certs/{{ streisand_gpg_keyserver_root_ca }} |
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 |
---|---|---|
@@ -1,20 +1,24 @@ | ||
- name: Enable the Universe repository | ||
apt_repository: | ||
repo: "deb http://archive.ubuntu.com/ubuntu {{ ansible_distribution_release }} universe" | ||
- name: Remove "certbot" package | ||
apt: | ||
name: certbot | ||
state: absent | ||
|
||
- name: Install snapd | ||
apt: | ||
name: snapd | ||
state: present | ||
register: le_add_apt_repository | ||
until: not le_add_apt_repository.failed | ||
retries: "{{ apt_repository_retries }}" | ||
delay: "{{ apt_repository_delay }}" | ||
|
||
- name: Add the certbot PPA | ||
apt_repository: | ||
repo: "ppa:certbot/certbot" | ||
register: le_add_certbot_ppa | ||
until: not le_add_certbot_ppa.failed | ||
retries: "{{ apt_repository_retries }}" | ||
delay: "{{ apt_repository_delay }}" | ||
- name: Update snapd | ||
command: snap install core | ||
|
||
- name: Install certbot | ||
apt: | ||
package: certbot | ||
- name: Refresh snapd | ||
command: snap refresh core | ||
|
||
- name: Install certbot snap | ||
command: snap install --classic certbot | ||
|
||
- name: Create a symbolic link to certbot | ||
file: | ||
src: /snap/bin/certbot | ||
dest: /usr/bin/certbot | ||
state: link |
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
Oops, something went wrong.