Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Ansible Support for OPNSense?
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Ansible Support for OPNSense? (Read 20627 times)
fpieters
Newbie
Posts: 1
Karma: 0
Re: Ansible Support for OPNSense?
«
Reply #15 on:
October 29, 2019, 10:22:50 am »
Hello @rvalle and others. Good to see that our PoC and provision repo on Naturalis is being used.
@Naturalis we are using ansible to automate the first (xml rewrite) deployment of OPNsense. After this our module is far from complete to do config changes. So thanks @rvalle for the help on improving it.
Unfortunately lacking time the automation effort is stalled, also waiting for a more complete REST api.
So far we deployed a new campus network and are starting to do the same for our datacenter. In this network (and most other components) we use ansible to automate all of it. Except for the firewalls. So if there could be some joint effort on using the REST api.. great!
Logged
rvalle
Newbie
Posts: 19
Karma: 0
Re: Ansible Support for OPNSense?
«
Reply #16 on:
December 24, 2019, 11:30:48 pm »
Hi All, @fpieters
I have been runnig this automation for some time. and the result is very satisfying.
Using ansible to compile an XMl cofiguration is a workable strategy while the REST API matures.
OPNSense is mature in the wasy that the configuration file describes pretty well the desired configuration state.
After having run this for some time, I am planing on a next major version that overcomes some issues found, and will improve it a bit further.
https://github.com/naturalis/ansible-opnsense/issues/19
I am also trying to implement Continiuous Integration on Gitlab so that I can test this roles against new updates in OPNSense. H
ere I need to use packer to generate appliances or something.
«
Last Edit: December 24, 2019, 11:33:52 pm by rvalle
»
Logged
vrubiolo
Newbie
Posts: 1
Karma: 0
Re: Ansible Support for OPNSense?
«
Reply #17 on:
July 09, 2020, 03:59:53 pm »
Greetings everyone,
I am reviving this thread as we are considering assessing OPNsense on our network. Since we are managing a lot with Ansible, I am coming here.
I was wondering if there has been some more observations concerning the naturalis role (in good or bad, I see it's still maintained).
I have also found
https://github.com/opoplawski/ansible-pfsense/
whose seems pretty active. @rvalle, did you evaluate it (I had not found it into your messages here)?
Thanks much!
Logged
ansibleguy
Newbie
Posts: 21
Karma: 2
Re: Ansible Support for OPNSense?
«
Reply #18 on:
December 22, 2022, 07:23:45 pm »
Greetings!
I just want to mention the Ansible Collection I am developing:
https://github.com/ansibleguy/collection_opnsense
It utilizes the REST APIs provided by OPNSense - therefor it has some limitations, but it is applicable for many common use-cases.
- AnsibleGuy
Logged
Print
Pages:
1
[
2
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Ansible Support for OPNSense?