initial support for openbsd

This commit is contained in:
Timo Makinen 2019-05-22 22:35:43 +03:00
parent a49c999d54
commit 745b4a5a77
2 changed files with 28 additions and 1 deletions

View 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

View file

@ -8,7 +8,7 @@
dest: "/etc/at.allow"
mode: 0600
owner: root
group: root
group: "{{ ansible_wheel }}"
- name: install basic roles
include_role: