~sirn/ansible-openbsd

ref: fd86c2c3e980ca893f2c6190efae76c59c0db9ed ansible-openbsd/README.md -rw-r--r-- 1.4 KiB
fd86c2c3Kridsada Thanabulpong Never fail in dehydrated postcmd 1 year, 2 months ago

#Ansible Roles

This repository hosts a personal collection of Ansible roles for OpenBSD hosts. These are common configurations that I use in my own servers in various projects. To use this repository, add the following line to your requirements.yml:

- src: git+https://git.sr.ht/~sirn/ansible-openbsd
  version: master
  name: openbsd-roles

Then you can refer the role in playbook with, for example:

- hosts: openbsd
  tasks:
      - import_role:
            name: openbsd-roles/openbsd-pf

Roles in this repository doesn't do process supervision (yet, partially because s6 supervision suite is not available under pkg).

#Components

These roles configure packages in base:

  • openbsd-hardening — performs a basic hardening
  • openbsd-openntpd — sets up the OpenNTPd daemon
  • openbsd-pf — sets up the pf firewall

These roles are for pkg-installed packages:

#See also

  • ansible-freebsd — Personal collection of Ansible roles for FreeBSD hosts.