From 5bf5065d9a78a68bd9b870a7d1244622409a7bf3 Mon Sep 17 00:00:00 2001 From: wh1te909 <7434746+wh1te909@users.noreply.github.com> Date: Mon, 24 Jun 2024 05:51:36 +0000 Subject: [PATCH] replace expired nginx key --- ansible/roles/trmm_dev/tasks/main.yml | 2 +- install.sh | 2 +- restore.sh | 2 +- update.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ansible/roles/trmm_dev/tasks/main.yml b/ansible/roles/trmm_dev/tasks/main.yml index a3d3e2d4..0eb0e623 100644 --- a/ansible/roles/trmm_dev/tasks/main.yml +++ b/ansible/roles/trmm_dev/tasks/main.yml @@ -329,7 +329,7 @@ tags: nginx become: yes ansible.builtin.apt_key: - url: https://nginx.org/packages/keys/nginx_signing.key + url: https://nginx.org/keys/nginx_signing.key state: present - name: add nginx repo diff --git a/install.sh b/install.sh index 5f21e236..069b0801 100644 --- a/install.sh +++ b/install.sh @@ -246,7 +246,7 @@ print_green 'Installing Nginx' sudo mkdir -p /etc/apt/keyrings -wget -qO - https://nginx.org/packages/keys/nginx_signing.key | sudo gpg --dearmor -o /etc/apt/keyrings/nginx-archive-keyring.gpg +wget -qO - https://nginx.org/keys/nginx_signing.key | sudo gpg --dearmor -o /etc/apt/keyrings/nginx-archive-keyring.gpg nginxrepo="$( cat </dev/null - wget -qO - https://nginx.org/packages/keys/nginx_signing.key | sudo gpg --dearmor -o /etc/apt/keyrings/nginx-archive-keyring.gpg + wget -qO - https://nginx.org/keys/nginx_signing.key | sudo gpg --dearmor -o /etc/apt/keyrings/nginx-archive-keyring.gpg sudo apt update sudo apt install -y nginx fi