initial support for openbsd
This commit is contained in:
parent
a49c999d54
commit
745b4a5a77
2 changed files with 28 additions and 1 deletions
27
roles/base/tasks/OpenBSD.yml
Normal file
27
roles/base/tasks/OpenBSD.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
|
||||
- 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
|
Loading…
Add table
Add a link
Reference in a new issue