From b2e9c22821d47140ee54b80cfba3fa124ee7c8e4 Mon Sep 17 00:00:00 2001 From: jtbx Date: Sat, 8 Jul 2023 23:59:19 +0200 Subject: [PATCH] cert, nginx: Update for debian 12 --- playbooks/roles/cert/meta/main.yaml | 1 + playbooks/roles/nginx/meta/main.yaml | 1 + playbooks/roles/nginx/tasks/main/repo_setup.yaml | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/playbooks/roles/cert/meta/main.yaml b/playbooks/roles/cert/meta/main.yaml index f01f2a1..a8c1110 100644 --- a/playbooks/roles/cert/meta/main.yaml +++ b/playbooks/roles/cert/meta/main.yaml @@ -5,3 +5,4 @@ dependencies: # noqa meta-no-info - name: Debian major_versions: - "11" + - "12" diff --git a/playbooks/roles/nginx/meta/main.yaml b/playbooks/roles/nginx/meta/main.yaml index 386685c..02b00ac 100644 --- a/playbooks/roles/nginx/meta/main.yaml +++ b/playbooks/roles/nginx/meta/main.yaml @@ -6,3 +6,4 @@ dependencies: - name: Debian major_versions: - "11" + - "12" diff --git a/playbooks/roles/nginx/tasks/main/repo_setup.yaml b/playbooks/roles/nginx/tasks/main/repo_setup.yaml index e1445a3..7d9c053 100644 --- a/playbooks/roles/nginx/tasks/main/repo_setup.yaml +++ b/playbooks/roles/nginx/tasks/main/repo_setup.yaml @@ -14,14 +14,14 @@ - name: make sure NGINX APT repository is added ansible.builtin.apt_repository: - repo: deb https://nginx.org/packages/debian/ bullseye nginx + repo: "deb https://nginx.org/packages/debian/ {{ ansible_distribution_release }} nginx" state: present become: true notify: apt-get update - name: make sure NGINX APT source repository is added ansible.builtin.apt_repository: - repo: deb-src https://nginx.org/packages/debian/ bullseye nginx + repo: "deb-src https://nginx.org/packages/debian/ {{ ansible_distribution_release }} nginx" state: present become: true notify: apt-get update