94d404a535
With a snap package. Because apparently that's how that's done. Change-Id: I0462cc062c2706509215158bca99e7a2ad58675a
38 lines
895 B
YAML
38 lines
895 B
YAML
- name: Remove packages that make no sense for our servers
|
|
package:
|
|
name:
|
|
- whoopsie
|
|
- popularity-contest
|
|
- lxd
|
|
- lxd-client
|
|
state: absent
|
|
|
|
- name: Configure file limits
|
|
copy:
|
|
mode: 0644
|
|
src: debian_limits.conf
|
|
dest: /etc/security/limits.d/60-nofile-limit.conf
|
|
|
|
- name: Custom rsyslog config to disable /dev/xconsole noise
|
|
copy:
|
|
mode: 0644
|
|
src: rsyslog.d_50-default.conf
|
|
dest: /etc/rsyslog.d/50-default.conf
|
|
notify: Restart rsyslog
|
|
|
|
- name: Install apt-daily 10periodic file for unattended-upgrades
|
|
copy:
|
|
mode: 0444
|
|
src: 10periodic
|
|
dest: /etc/apt/apt.conf.d/10periodic
|
|
owner: root
|
|
group: root
|
|
|
|
- name: Install 50unattended-upgrades file for unattended-upgrades
|
|
copy:
|
|
mode: 0444
|
|
src: 50unattended-upgrades
|
|
dest: /etc/apt/apt.conf.d/50unattended-upgrades
|
|
owner: root
|
|
group: root
|