Personal collection of Ansible roles for OpenBSD hosts
Never fail in dehydrated postcmd
Use periodic.sh for first dehydrated run
Run postcmd as part of dehydrated initial cert

refs

master
browse log

clone

read-only
https://git.sr.ht/~sirn/ansible-openbsd
read/write
git@git.sr.ht:~sirn/ansible-openbsd

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.