Skip to content

variable munin_node_allowed_cidrs wrongly templated? #24

@logiczny

Description

@logiczny

Hi, I love your work and I use many of your projects daily!
I've noticed that when I setup a variable per host (in hosts.ini) like so:
192.168.1.3 munin_node_allowed_cidrs=192.168.1.2/32
or
192.168.1.3 munin_node_allowed_cidrs=[192.168.1.2/32]
or even
192.168.1.3 munin_node_allowed_cidrs=[ 192.168.1.2/32 ]

I'm getting something like this in 192.168.1.3's munin-node.conf:

(...)
cidr_allow 1
cidr_allow 9
cidr_allow 2
cidr_allow .
cidr_allow 1
cidr_allow 6
cidr_allow 8
cidr_allow .
cidr_allow 1
cidr_allow .
cidr_allow 2
cidr_allow /
cidr_allow 3
cidr_allow 2
(...)

instead of
cidr_allow 192.168.1.2/32

When I setup a variable in a role at a playbook - it works like expected, but I need different IP addresses per host.
Am I doing something wrong here?

Greetings from Poland!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions