Add a pre_command to kopia_backup for host dump scripts and install gpg for the apt key

This commit is contained in:
2026-10-08 08:51:23 +00:00
parent b45a07da56
commit d345ccf585
3 changed files with 11 additions and 0 deletions
+5
View File
@@ -15,6 +15,11 @@
state: directory
mode: "0755"
- name: Install gpg for the apt key
ansible.builtin.apt:
name: gpg
state: present
- name: Add the Kopia apt key
ansible.builtin.shell: curl -fsSL https://kopia.io/signing-key | gpg --dearmor -o /etc/apt/keyrings/kopia-keyring.gpg
args: