This repository was archived by the owner on Jun 4, 2021. It is now read-only.
File tree 19 files changed +53
-11
lines changed
19 files changed +53
-11
lines changed Original file line number Diff line number Diff line change @@ -20,5 +20,5 @@ streisand_ssh_forward_enabled: yes
20
20
streisand_sshuttle_enabled : no
21
21
streisand_stunnel_enabled : yes
22
22
streisand_tinyproxy_enabled : yes
23
- streisand_tor_enabled : yes
23
+ streisand_tor_enabled : no
24
24
streisand_wireguard_enabled : yes
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ streisand_ssh_forward_enabled: yes
16
16
streisand_openvpn_enabled : yes
17
17
streisand_wireguard_enabled : yes
18
18
streisand_openconnect_enabled : yes
19
- streisand_tor_enabled : yes
19
+ streisand_tor_enabled : no
20
20
streisand_stunnel_enabled : yes
21
21
streisand_tinyproxy_enabled : yes
22
22
# TODO(@cpu): The services below need some manner of integration test written
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ streisand_ssh_forward_enabled: yes
23
23
streisand_sshuttle_enabled : no
24
24
streisand_stunnel_enabled : yes
25
25
streisand_tinyproxy_enabled : yes
26
- streisand_tor_enabled : yes
26
+ streisand_tor_enabled : no
27
27
streisand_wireguard_enabled : yes
28
28
29
29
# The AWS region number.
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ streisand_ssh_forward_enabled: yes
23
23
streisand_sshuttle_enabled : no
24
24
streisand_stunnel_enabled : yes
25
25
streisand_tinyproxy_enabled : yes
26
- streisand_tor_enabled : yes
26
+ streisand_tor_enabled : no
27
27
streisand_wireguard_enabled : yes
28
28
29
29
# The region to deploy into.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ streisand_ssh_forward_enabled: yes
27
27
streisand_sshuttle_enabled : no
28
28
streisand_stunnel_enabled : yes
29
29
streisand_tinyproxy_enabled : yes
30
- streisand_tor_enabled : yes
30
+ streisand_tor_enabled : no
31
31
streisand_wireguard_enabled : yes
32
32
33
33
# The Digital Ocean region number.
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ streisand_ssh_forward_enabled: yes
22
22
streisand_sshuttle_enabled : no
23
23
streisand_stunnel_enabled : yes
24
24
streisand_tinyproxy_enabled : yes
25
- streisand_tor_enabled : yes
25
+ streisand_tor_enabled : no
26
26
streisand_wireguard_enabled : yes
27
27
28
28
# Server location:
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ streisand_ssh_forward_enabled: yes
21
21
streisand_sshuttle_enabled : no
22
22
streisand_stunnel_enabled : yes
23
23
streisand_tinyproxy_enabled : yes
24
- streisand_tor_enabled : yes
24
+ streisand_tor_enabled : no
25
25
streisand_wireguard_enabled : yes
26
26
27
27
# Choose the server location.
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ streisand_ssh_forward_enabled: yes
22
22
streisand_sshuttle_enabled : no
23
23
streisand_stunnel_enabled : yes
24
24
streisand_tinyproxy_enabled : yes
25
- streisand_tor_enabled : yes
25
+ streisand_tor_enabled : no
26
26
streisand_wireguard_enabled : yes
27
27
28
28
# Definitions needed for Let's Encrypt HTTPS (or TLS) certificate setup.
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ streisand_ssh_forward_enabled: yes
21
21
streisand_sshuttle_enabled : no
22
22
streisand_stunnel_enabled : yes
23
23
streisand_tinyproxy_enabled : yes
24
- streisand_tor_enabled : yes
24
+ streisand_tor_enabled : no
25
25
streisand_wireguard_enabled : yes
26
26
27
27
# Choose the region to deploy into.
Original file line number Diff line number Diff line change 41
41
default : " yes"
42
42
private : no
43
43
- name : streisand_tor_enabled
44
- prompt : " Enable Tor? Press enter for default "
45
- default : " yes "
44
+ prompt : " Enable Tor? (UPSTREAM IS BROKEN) Press enter for default "
45
+ default : " no "
46
46
private : no
47
47
- name : streisand_wireguard_enabled
48
48
prompt : " Enable WireGuard? Press enter for default "
Original file line number Diff line number Diff line change @@ -126,3 +126,6 @@ streisand_my_ip_url: https://duckduckgo.com/?q=ip+address
126
126
# Ciphersuites recommended from Mozilla's Modern compatibility profile
127
127
# https://wiki.mozilla.org/Security/Server_Side_TLS
128
128
streisand_tls_ciphers : " ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256"
129
+
130
+ apt_repository_retries : 10
131
+ apt_repository_delay : 20
Original file line number Diff line number Diff line change 8
8
- name : Add the official acmetool repository
9
9
apt_repository :
10
10
repo : " deb http://ppa.launchpad.net/hlandau/rhea/{{ ansible_distribution|lower }} {{ ansible_lsb.codename }} main"
11
+ register : le_add_apt_repository
12
+ until : not le_add_apt_repository.failed
13
+ retries : " {{ apt_repository_retries }}"
14
+ delay : " {{ apt_repository_delay }}"
11
15
12
16
- name : Install acmetool
13
17
apt :
Original file line number Diff line number Diff line change 15
15
- name : Add the official Nginx repository
16
16
apt_repository :
17
17
repo : " deb https://nginx.org/packages/{{ ansible_distribution|lower }}/ {{ ansible_lsb.codename }} nginx"
18
+ register : nginx_add_apt_repository
19
+ until : not nginx_add_apt_repository.failed
20
+ retries : " {{ apt_repository_retries }}"
21
+ delay : " {{ apt_repository_delay }}"
22
+
18
23
19
24
- name : Install Nginx
20
25
apt :
Original file line number Diff line number Diff line change 1
1
---
2
+
3
+ # It *shouldn't* be necessary to run this particular apt_repository
4
+ # call in a "retry" loop; enabling Universe doesn't reach out to the
5
+ # network, so this shouldn't have transient failures. For the sake of
6
+ # consistency with the other apt_repository calls, it does retry.
7
+
2
8
- name : Enable the Universe repository
3
9
apt_repository :
4
10
repo : " deb http://archive.ubuntu.com/ubuntu {{ ansible_distribution_release }} universe"
5
11
state : present
12
+ register : openconnect_add_apt_repository
13
+ until : not openconnect_add_apt_repository.failed
14
+ retries : " {{ apt_repository_retries }}"
15
+ delay : " {{ apt_repository_delay }}"
6
16
7
17
- name : Install ocserv
8
18
apt :
Original file line number Diff line number Diff line change 10
10
apt_repository :
11
11
repo : ' deb https://build.openvpn.net/debian/openvpn/stable {{ ansible_lsb.codename }} main'
12
12
state : present
13
+ register : openvpn_add_apt_repository
14
+ until : not openvpn_add_apt_repository.failed
15
+ retries : " {{ apt_repository_retries }}"
16
+ delay : " {{ apt_repository_delay }}"
13
17
14
18
- name : Install OpenVPN and its dependencies from APT
15
19
apt :
Original file line number Diff line number Diff line change 9
9
- name : Add the Shadowsocks PPA
10
10
apt_repository :
11
11
repo : ' ppa:max-c-lv/shadowsocks-libev'
12
+ register : shadowsocks_add_apt_repository
13
+ until : not shadowsocks_add_apt_repository.failed
14
+ retries : " {{ apt_repository_retries }}"
15
+ delay : " {{ apt_repository_delay }}"
12
16
13
17
- name : Install shadowsocks-libev
14
18
apt :
Original file line number Diff line number Diff line change 58
58
# TODO:
59
59
# Add to CI testing https://github.com/StreisandEffect/streisand/issues/643
60
60
- block :
61
+ - name : Keep a copy of our diagnostics on the server
62
+ copy :
63
+ src : ../../../../streisand-diagnostics.md
64
+ dest : " {{ streisand_gateway_location }}/streisand-diagnostics.md"
61
65
62
66
# generate the streisand server instructions and documentation
63
67
- include_tasks : docs.yml
Original file line number Diff line number Diff line change 9
9
- name : Add the Tor repository
10
10
apt_repository :
11
11
repo : ' deb https://deb.torproject.org/torproject.org {{ ansible_lsb.codename }} main'
12
+ register : tor_add_apt_repository
13
+ until : not tor_add_apt_repository.failed
14
+ retries : " {{ apt_repository_retries }}"
15
+ delay : " {{ apt_repository_delay }}"
12
16
13
17
- name : Install the package to keep the Tor signing key current
14
18
apt :
Original file line number Diff line number Diff line change 7
7
- name : Add the WireGuard PPA
8
8
apt_repository :
9
9
repo : ' ppa:wireguard/wireguard'
10
+ register : wireguard_add_apt_repository
11
+ until : not wireguard_add_apt_repository.failed
12
+ retries : " {{ apt_repository_retries }}"
13
+ delay : " {{ apt_repository_delay }}"
10
14
11
15
- name : Install the WireGuard packages
12
16
apt :
You can’t perform that action at this time.
0 commit comments