Browse Source

Merge pull request #59 from bcachet/apticron

add(apticron): configure email
Alex Payne 11 years ago
parent
commit
56b6364724
2 changed files with 9 additions and 0 deletions
  1. 3
    0
      roles/common/tasks/main.yml
  2. 6
    0
      roles/common/templates/apticron.conf.j2

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

@@ -34,6 +34,9 @@
34 34
   notify:
35 35
     - restart ntp
36 36
 
37
+- name: Apticron email configuration
38
+  template: src=apticron.conf.j2 dest=/etc/apticron/apticron.conf
39
+
37 40
 - name: Ensure ntpd is running and enabled
38 41
   service: name=ntp state=started enabled=yes
39 42
 

+ 6
- 0
roles/common/templates/apticron.conf.j2 View File

@@ -0,0 +1,6 @@
1
+EMAIL="{{ admin_email }}"
2
+
3
+NOTIFY_NO_UPDATE="0"
4
+
5
+NOTIFY_NEW="0"
6
+

Loading…
Cancel
Save