فهرست منبع

Debian - Ensure we have gnupg and updated apt cache

Jared Ledvina 8 سال پیش
والد
کامیت
f2cb11b5ac
1فایلهای تغییر یافته به همراه7 افزوده شده و 0 حذف شده
  1. 7 0
      tasks/Debian/main.yml

+ 7 - 0
tasks/Debian/main.yml

@@ -8,6 +8,13 @@
     apt:
       name: apt-transport-https
       state: present
+      cache_valid_time: 3600
+      update_cache: true
+
+  - name: Ensure that gnupg is installed for apt_key
+    apt:
+      name: gnupg
+      state: present
 
   - name: Ensure the Sensu APT repo GPG key is present
     apt_key: