Browse Source

Merge pull request #134 from tilsammans/unattended-upgrades

Enabled unattended-upgrades
Luke Cyca 11 years ago
parent
commit
121cde3814
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      roles/common/tasks/main.yml

+ 4
- 0
roles/common/tasks/main.yml View File

28
     - apt-transport-https
28
     - apt-transport-https
29
     - python-software-properties
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
 - name: Install ntp
35
 - name: Install ntp
32
   apt: pkg=ntp state=installed
36
   apt: pkg=ntp state=installed
33
 
37
 

Loading…
Cancel
Save