Giter VIP home page Giter VIP logo

ansible-dnsmasq's People

Contributors

icewindow avatar jardleex avatar tersmitten avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ansible-dnsmasq's Issues

Multiline ansible_managed breaks config files

Using multiple lines for the ansible_managed variable causes an error when the template files are validated. Specifically, the first line of the file will be commented out, but every subsequent line of the ansible_managed variable will be written to the config files as-is.

Proposal: Use Ansible's built-in comment filter to template out the comment.
Instead of

# {{ ansible_managed }}

the line should read

{{ ansible_managed | comment }}

The comment filter can handle multiline strings without a problem.

[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated

Hi,

Thank you for this role! I am loving how simple it is to use it and how flexible it is. Unfortunately, I am getting the following warning when using it and I would love if this kept working in the future:

TASK [oefenweb.dnsmasq : install dependencies] ********************************************************************************************************************************************************
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply multiple items and specifying `name: "{{ item }}"`, please use 
`name: '{{ dnsmasq_dependencies }}'` and remove the loop. This feature will be removed in version 2.11. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

Is there a way to fix this in a future version?

All the best,
Christophe-Marie

Option to set as default resolver

I have a chicken and egg situation where systemd.resolved needs to be disabled before running this role, but doing so stops it from being able to apt install dnsmasq (repo fails to resolve).

It would be nice to have the role take care of this:

  1. install dnsmasq
  2. disable systemd.resolved
  3. (re)start dnsmasq

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.