27 lines
530 B
YAML
27 lines
530 B
YAML
---
|
|
|
|
- name: install packages
|
|
package:
|
|
name: "{{ item }}"
|
|
state: installed
|
|
with_items:
|
|
- iftop # monitor interfaces
|
|
- vim--no_x11 # we need real vim
|
|
|
|
- name: disable nightly cron noise
|
|
file:
|
|
name: "{{ item }}"
|
|
content: "VERBOSESTATUS=0\n"
|
|
mode: 0644
|
|
owner: root
|
|
group: "{{ ansible_wheel }}"
|
|
with_items:
|
|
- /etc/daily.local
|
|
- /etc/weekly.local
|
|
- /etc/monthly.local
|
|
|
|
- name: disable unused services
|
|
service:
|
|
name: sndiod
|
|
enabled: false
|
|
state: stopped
|