Ansible role for configuring network on OpenBSD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Oleg Vasilev 1736e93f93 Add LICENSE file 3 months ago
handlers First working release 3 months ago
tasks First working release 3 months ago
templates First working release 3 months ago
CHANGELOG.md First working release 3 months ago
LICENSE Add LICENSE file 3 months ago
README.md First working release 3 months ago

README.md

OpenBSD network

An Ansible role for configuring network on OpenBSD.

This project adheres to Semantic Versioning.

Requirements

An installed OpenBSD system with python in it.

Role Variables

Example configuration. Follow OpenBSD documentation to construct yours.

# This is how typical router configuration looks like
openbsd_network_interfaces:
  em0: ["dhcp"]
  em1: ["up"]
  em2: ["up"]
  em3: ["up"]
  em4: ["up"]
  vether0: ["inet 192.168.0.1 255.255.255.0"]
  bridge0:
    - add vether0
    - add em1
    - add em2
    - add em3
    - add em4
    - up

TODO:

What to do on configuration changes. Could be "restart", "reload" or "nothing". Variable is mandatory.

networkd_apply_action: "restart"

License

MIT