Skip to content

Commit 435df98

Browse files
committed
fix: Need to decode JWT twice
* And update matrix of supported platforms within `vars/main.yml`
1 parent cc6d48a commit 435df98

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tasks/plus/setup-license.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159
- name: Decode JWT payload using base64url
160160
ansible.builtin.set_fact:
161-
jwt_payload_encoded: "{{ (jwt_file['content'] | b64decode | split('.'))[1] }}"
161+
jwt_payload_encoded: "{{ (jwt_file['content'] | b64decode | b64decode | split('.'))[1] }}"
162162

163163
- name: Decode JWT payload using base64url
164164
ansible.builtin.set_fact:

vars/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ nginx_supported_distributions:
5959
architectures: [x86_64]
6060
ubuntu:
6161
name: Ubuntu
62-
versions: [20.04, 22.04, 23.10, 24.04]
62+
versions: [20.04, 22.04, 24.04, 24.10]
6363
architectures: "{{ ['x86_64', 'aarch64', 's390x'] if ((ansible_facts['distribution_version'] is version('20.04', '==')) or (ansible_facts['distribution_version'] is version('22.04', '=='))) else ['x86_64', 'aarch64'] }}"
6464

6565
# Supported NGINX Plus distributions
@@ -71,7 +71,7 @@ nginx_plus_supported_distributions:
7171
architectures: [x86_64, aarch64]
7272
alpine:
7373
name: Alpine Linux
74-
versions: [3.16, 3.17, 3.18, 3.19]
74+
versions: [3.17, 3.18, 3.19, 3.20]
7575
architectures: [x86_64, aarch64]
7676
amazon:
7777
name: Amazon Linux
@@ -83,7 +83,7 @@ nginx_plus_supported_distributions:
8383
architectures: [x86_64, aarch64]
8484
freebsd:
8585
name: FreeBSD
86-
versions: [12, 13, 14]
86+
versions: [13, 14]
8787
architectures: [x86_64]
8888
oraclelinux:
8989
name: Oracle Linux
@@ -92,7 +92,7 @@ nginx_plus_supported_distributions:
9292
redhat:
9393
name: Red Hat Enterprise Linux
9494
versions: [8, 9]
95-
architectures: "{{ ['x86_64', 'aarch64', 's390x'] if (ansible_facts['distribution_major_version'] is version('8', '>=')) else ['x86_64', 'aarch64'] }}"
95+
architectures: [x86_64, aarch64]
9696
rocky:
9797
name: Rocky Linux
9898
versions: [8, 9]

0 commit comments

Comments
 (0)