2021-09-12 00:26:15 +03:00
2021-09-12 00:26:15 +03:00
2021-09-12 00:26:15 +03:00
2021-09-12 00:26:15 +03:00
2021-09-12 00:26:15 +03:00
2021-09-12 00:26:15 +03:00

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

Description
Ansible role for configuring network on OpenBSD
Readme 27 KiB
Languages
HTML 100%