From 00a79115d7b12d9077fb1153469e878823fdfa64 Mon Sep 17 00:00:00 2001
From: Leonidas Spyropoulos <artafinde@archlinux.org>
Date: Sun, 15 Sep 2024 12:47:29 +0300
Subject: [PATCH] Replace deprecated git gpg_allowlist to gpg_whitelist

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
---
 roles/archmanweb/tasks/main.yml | 2 +-
 roles/archweb/tasks/main.yml    | 2 +-
 roles/aurweb/tasks/main.yml     | 4 ++--
 roles/bugbot/tasks/main.yml     | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/roles/archmanweb/tasks/main.yml b/roles/archmanweb/tasks/main.yml
index 0013f224f..603cc3ad5 100644
--- a/roles/archmanweb/tasks/main.yml
+++ b/roles/archmanweb/tasks/main.yml
@@ -46,7 +46,7 @@
     version={{ archmanweb_version }}
 # TODO
 #    verify_commit=true
-#    gpg_allowlist={{ archmanweb_pgp_key }}
+#    gpg_whitelist={{ archmanweb_pgp_key }}
   become: true
   become_user: archmanweb
   register: release
diff --git a/roles/archweb/tasks/main.yml b/roles/archweb/tasks/main.yml
index 3d43325ad..a8c22d24c 100644
--- a/roles/archweb/tasks/main.yml
+++ b/roles/archweb/tasks/main.yml
@@ -59,7 +59,7 @@
     dest="{{ archweb_dir }}"
     version={{ archweb_version }}
     verify_commit=true
-    gpg_allowlist={{ archweb_pgp_key }}
+    gpg_whitelist={{ archweb_pgp_key }}
   become: true
   become_user: archweb
   register: release
diff --git a/roles/aurweb/tasks/main.yml b/roles/aurweb/tasks/main.yml
index 2799ba975..0b57fab62 100644
--- a/roles/aurweb/tasks/main.yml
+++ b/roles/aurweb/tasks/main.yml
@@ -64,7 +64,7 @@
     dest="{{ aurweb_dir }}"
     version={{ aurweb_version }}
     verify_commit=true
-    gpg_allowlist='{{ aurweb_pgp_keys }}'
+    gpg_whitelist='{{ aurweb_pgp_keys }}'
   become: true
   become_user: "{{ aurweb_user }}"
   register: release
@@ -90,7 +90,7 @@
     dest="{{ aurweb_dir }}"
     version={{ aurweb_version }}
     verify_commit=true
-    gpg_allowlist='{{ aurweb_pgp_keys }}'
+    gpg_whitelist='{{ aurweb_pgp_keys }}'
   become: true
   become_user: "{{ aurweb_user }}"
   when: release.changed
diff --git a/roles/bugbot/tasks/main.yml b/roles/bugbot/tasks/main.yml
index cee527d09..b58782da8 100644
--- a/roles/bugbot/tasks/main.yml
+++ b/roles/bugbot/tasks/main.yml
@@ -13,7 +13,7 @@
     dest: /srv/bugbot
     force: true
     verify_commit: true
-    gpg_allowlist: '{{ bugbot_pgp_keys }}'
+    gpg_whitelist: '{{ bugbot_pgp_keys }}'
     version: '{{ bugbot_version }}'
 
 - name: Install env file
-- 
GitLab