Skip to content

Commit 7159318

Browse files
authored
Merge branch 'master' into fix/14704
2 parents 1d6e03a + da32baf commit 7159318

File tree

5 files changed

+19
-3
lines changed

5 files changed

+19
-3
lines changed

config.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ cloud_providers:
206206
image: Ubuntu 22.04 Jammy Jellyfish
207207
arch: x86_64
208208
hetzner:
209-
server_type: cx11
209+
server_type: cx22
210210
image: ubuntu-22.04
211211
openstack:
212212
flavor_ram: ">=512"

docs/deploy-from-cloudshell.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Deploy from Google Cloud Shell
2-
**IMPORTANT NOTE: As of 2021-12-14 Algo requires Python 3.8, but Google Cloud Shell only provides Python 3.7.3. The instructions below will not work until Google updates Cloud Shell to have at least Python 3.8.**
32

43
If you want to try Algo but don't wish to install the software on your own system you can use the **free** [Google Cloud Shell](https://cloud.google.com/shell/) to deploy a VPN to any supported cloud provider. Note that you cannot choose `Install to existing Ubuntu server` to turn Google Cloud Shell into your VPN server.
54

roles/cloud-vultr/tasks/prompts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@
5454
set_fact:
5555
algo_vultr_region: >-
5656
{% if region is defined %}{{ region }}
57-
{%- elif _algo_region.user_input %}{{ vultr_regions[_algo_region.user_input | int -1 ]['name'] | lower }}
57+
{%- elif _algo_region.user_input %}{{ vultr_regions[_algo_region.user_input | int -1 ]['regioncode'] | lower }}
5858
{%- else %}{{ vultr_regions[default_region | int - 1]['regioncode'] | lower }}{% endif %}

roles/strongswan/tasks/openssl.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,25 @@
155155
format: OpenSSH
156156
with_items: "{{ users }}"
157157

158+
- name: Get OpenSSL version
159+
shell: |
160+
set -o pipefail
161+
{{ openssl_bin }} version |
162+
cut -f 2 -d ' '
163+
args:
164+
executable: bash
165+
register: ssl_version
166+
run_once: true
167+
168+
- name: Set OpenSSL version fact
169+
set_fact:
170+
openssl_version: "{{ ssl_version.stdout }}"
171+
158172
- name: Build the client's p12
159173
shell: >
160174
umask 077;
161175
{{ openssl_bin }} pkcs12
176+
{{ (openssl_version is version('3', '>=')) | ternary('-legacy', '') }}
162177
-in certs/{{ item }}.crt
163178
-inkey private/{{ item }}.key
164179
-export
@@ -175,6 +190,7 @@
175190
shell: >
176191
umask 077;
177192
{{ openssl_bin }} pkcs12
193+
{{ (openssl_version is version('3', '>=')) | ternary('-legacy', '') }}
178194
-in certs/{{ item }}.crt
179195
-inkey private/{{ item }}.key
180196
-export

users.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
[{% for i in _configs_list.files %}
2828
{% set config = lookup('file', i.path)|from_yaml %}
2929
'{{ config.server }}'
30+
'{{ config.IP_subject_alt_name }}'
3031
{{ ',' if not loop.last else '' }}
3132
{% endfor %}]
3233

0 commit comments

Comments
 (0)