From 4d3289a79694d9d184155c69f47b3345b8e734d2 Mon Sep 17 00:00:00 2001 From: L3D Date: Thu, 6 May 2021 15:16:31 +0200 Subject: [PATCH 1/2] import gpg key with the same user import gpg key with the same user that will verify the gpg key. RESOLVE #29 --- tasks/install.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks/install.yml b/tasks/install.yml index c38133b..03d1836 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -47,7 +47,6 @@ failed_when: _gitea_gpg_key_status.rc not in (0, 2) - name: Import gitea gpg key - become: true ansible.builtin.command: "gpg --keyserver {{ gitea_gpg_server }} --recv {{ gitea_gpg_key }}" register: _gitea_import_key changed_when: '"imported: 1" in _gitea_import_key.stderr' From 66d54129468df7a9c3cc40aab623ad27de9f84f5 Mon Sep 17 00:00:00 2001 From: L3D Date: Thu, 6 May 2021 15:18:53 +0200 Subject: [PATCH 2/2] increase gitea version for simple version check --- vars/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/main.yml b/vars/main.yml index 25fb8a1..cb0c0ec 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -20,5 +20,5 @@ gitea_variables: paths: - 'vars' -playbook_version_number: 11 # should be int +playbook_version_number: 12 # should be int playbook_version_path: 'do1jlr.gitea.version'