ansible-opnsense icon indicating copy to clipboard operation
ansible-opnsense copied to clipboard

Version 3

Open rvalle opened this issue 6 years ago • 4 comments

We have been using this role for some weeks now, we are gathering ideas for a next major release.

We have identified the following issues:

  • the key/value pattern generates very verbose files, would be nice to use plain yml dictionary instead.
  • the use of arrays to list properties do not allow for merging, which makes it difficult to share configurations among devices.

With regards to the second point, consider the following example: setting up aliases, when you want some aliases to be present on all devices, some other aliases to be shared for devices in a given group and some aliases to be specific for the device.

Having the ability to merge dictionaries present on multiple files of the catalogue allows for much better structuring and sharing of configuration.

Unfortunately only dictionaries can be merged, as they dont have a particular order of properties, while arrays cannot.

Any other things that could be included in a next release of the role?

rvalle avatar Nov 14 '19 13:11 rvalle

Not using this yet but will be soon, and package management (specifically for plugin installation) would be extremely useful, along w/ inclusion of WireGuard in VPN.

systembell avatar Mar 24 '20 16:03 systembell

@systembell I have VPN working, but with openvpn. In order to progress further I want to setup automated CI tests, and for that I need a cloud image of the appliance.... or create a script for generating it.

rvalle avatar Mar 24 '20 17:03 rvalle

We used the scripts in this repo to create images using packer. You can find an OPNsense VirtualBox image here.

rudibroekhuizen avatar May 29 '20 13:05 rudibroekhuizen

thanks @rudibroekhuizen, actually I did restart this.

I will try to see if it still goes with the new release.

I have not updated my opnsese, as I don't know if these ansible scripts will continue to work.

rvalle avatar May 29 '20 17:05 rvalle