summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-07 18:30:26 +0300
committerLars Wirzenius <liw@liw.fi>2021-07-07 18:30:26 +0300
commit29d6307cdc5ebd8b3a24e1cb424e65f92f832568 (patch)
tree3f66ca92f7de4b8dc0ab14c2b67529f2fd35776a /roles
parent028980c06c069914823ec965e413f272b0ae0e83 (diff)
downloaddebian-ansible-29d6307cdc5ebd8b3a24e1cb424e65f92f832568.tar.gz
fix: make sure gnupg is installed before adding apt keys
On the Debian 11 cloud image it's not installed by default. Sponsored-by: author
Diffstat (limited to 'roles')
-rw-r--r--roles/sane_debian_system/tasks/apt.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/sane_debian_system/tasks/apt.yml b/roles/sane_debian_system/tasks/apt.yml
index 21eea70..d27083e 100644
--- a/roles/sane_debian_system/tasks/apt.yml
+++ b/roles/sane_debian_system/tasks/apt.yml
@@ -47,6 +47,10 @@
repo: "{{ item.repo }}"
update_cache: no
+- name: install gnupg
+ apt:
+ name: gnupg
+
- name: add archive signing keys
with_items: "{{ sane_debian_system_sources_lists }}"
apt_key: