6bbdbe7cf9 | ||
---|---|---|
handlers | ||
tasks | ||
templates | ||
CHANGELOG.md | ||
README.md |
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