Coder Social home page Coder Social logo

Comments (7)

zerwes avatar zerwes commented on June 5, 2024 1

@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.

zerwes avatar zerwes commented on June 5, 2024 1

#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.

rvalle avatar rvalle commented on June 5, 2024

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.

zerwes avatar zerwes commented on June 5, 2024

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.

rvalle avatar rvalle commented on June 5, 2024

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.

zerwes avatar zerwes commented on June 5, 2024

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 alwaysto --skip-tags
hope this helps

from ansible-opnsense.

rvalle avatar rvalle commented on June 5, 2024

thanks!!!

from ansible-opnsense.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.