瀏覽代碼

Merge pull request #134 from tilsammans/unattended-upgrades

Enabled unattended-upgrades
Luke Cyca 11 年之前
父節點
當前提交
121cde3814
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      roles/common/tasks/main.yml

+ 4
- 0
roles/common/tasks/main.yml 查看文件

@@ -28,6 +28,10 @@
28 28
     - apt-transport-https
29 29
     - python-software-properties
30 30
 
31
+- name: Install unattended upgrades (Debian/Ubuntu only)
32
+  apt: pkg=unattended-upgrades state=installed
33
+  when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
34
+
31 35
 - name: Install ntp
32 36
   apt: pkg=ntp state=installed
33 37
 

Loading…
取消
儲存