[Dnsmasq-discuss] yaml config file

Geert Stappers stappers at stappers.nl
Sun Mar 14 10:37:48 UTC 2021


On Wed, Mar 10, 2021 at 06:45:24PM +0100, Marcos Dione wrote:
> Le Wed, Mar 10, 2021 at 10:02:06AM +0000, Shantanu Gadgil via Dnsmasq-discuss a écrit :
> > > To the previous suggestion of using YAML as the config file ...
> > Please nooo!!!
> > I use/like Dnsmasq a lot and using YAML will just kill me on the inside
> > SPACE based indentation is *******

Learn to love spaces. See the beauty
in https://github.com/isomer/erbium/blob/master/man/erbium.conf.5#L400


> > TOML is fine in my opinion, but that's all it is,
> > opinion of a _user_ nothing more!!! :) :)
> 
> Ok, if this has been discussed before and it was rejected (or just
> let die), then I'm not bringing it again.
> I probably will have to write my own yaml -> dnsmasq converter,
> as I'm using Ansible.

https://docs.ansible.com/ansible/latest/user_guide/playbooks_templating.html
in other words:  The "converter" already exists.


> In fact, that's where my idea came from.

Please keep sharing ideas.



Groeten
Geert Stappers
-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list