1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,21 @@ |
1 |
+--- |
|
2 |
+ |
|
3 |
+- name: 'Install etckeeper' |
|
4 |
+ become: yes |
|
5 |
+ apt: |
|
6 |
+ name: 'etckeeper' |
|
7 |
+ |
|
8 |
+- name: 'Install packages' |
|
9 |
+ become: yes |
|
10 |
+ apt: |
|
11 |
+ name: |
|
12 |
+ - 'unattended-upgrades' |
|
13 |
+ - 'apt-listchanges' |
|
14 |
+ # - 'default-mta' |
|
15 |
+ |
|
16 |
+- name: 'Write 51unattended-upgrades-allow-all-origins' |
|
17 |
+ become: yes |
|
18 |
+ copy: |
|
19 |
+ src: '51unattended-upgrades-allow-all-origins' |
|
20 |
+ dest: '/etc/apt/apt.conf.d/' |
|
21 |
+ mode: '0644' |