Comments (7)
@rvalle I just took the chance and implemented a dhcp handler for #12 on the branch issue-12-dhcp-handler
would you mind testing this?
from ansible-opnsense.
#58 works for me ...
just using ansible-playbook -t dhcp,copy ...
will bypass the big reload and leave you with the right dhcp config in /var/dhcpd//etc/dhcpd.conf
and a reloaded service ...
can you approve this?
from ansible-opnsense.
it may also help to use a block for the last set of tasks: clean, copy, upload, reload.... all should be processed always when the config has changed, etc.
from ansible-opnsense.
Hello @rvalle
We use selective runs using tags to.
Our fetch method is a little bit different (see https://github.com/Rosa-Luxemburgstiftung-Berlin/ansible-opnsense-playbook)
I'll have a look at the fetch issue and be back soon ...
The block hint has to be considered in #12
from ansible-opnsense.
I see @zerwes
in your setup you do an tagged import role, while in the vanilla role it is an include_tasks. Perhaps they behave differently. I think they have to be applied always instead of fetch.
Yes, finer grain handlers would be a great tool too.
I think these features will make a difference during configuration work on the firewalls, making it more agile.
from ansible-opnsense.
well, by enforcing the tag inheritance for the always
tag on the included task, the fetch
task is now implicit invoked, except it is explicitly excluded by adding fetch
or always
to --skip-tags
hope this helps
from ansible-opnsense.
thanks!!!
from ansible-opnsense.
Related Issues (20)
- use FQCN notation
- ipsec phase2 cleanup HOT 2
- filter rules: interfaces should be sorted HOT 2
- validate alias type
- group management with multiple members not working HOT 2
- filter rules source / destination should be set consistent HOT 1
- alias type port : sort entries
- Upstream repo naturalis/ansible-opnsense HOT 3
- lint: use 6.22.0 HOT 3
- update unbound cfg
- ipsec: implement connections instead of legacy tunnel cfg
- ipsec tunnel phase1 en/disable HOT 1
- filter rules: interface list order changes on re-deploy HOT 1
- avoid re-sorting alias content entries HOT 1
- comparing mixed lists of int and string for alias causes error
- URL Firewall Aliases not workng HOT 7
- alias: enable by default
- test fails in github despite success in normal env HOT 7
- DNS broken after configuration reload HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-opnsense.