mesaguy / ansible-prometheus

Ansible role for the management of Prometheus software and Prometheus exporters

Home Page:https://galaxy.ansible.com/mesaguy/prometheus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect usage of FirewallD module

opened this issue · comments

Hi,

The task _setup_firewall.yml is currently trying to set a port and a source when calling the FirewallD module. However, this is not supported and erroring out. For example:
failed: [hostname.network] (item=10.0.0.1) => { "ansible_loop_var": "prometheus_server_ip", "changed": false, "invocation": { "module_args": { "icmp_block": null, "icmp_block_inversion": null, "immediate": true, "interface": null, "masquerade": null, "offline": null, "permanent": true, "port": "9100/tcp", "rich_rule": null, "service": null, "source": "10.0.0.1", "state": "enabled", "timeout": 0, "zone": "public" } }, "msg": "can only operate on port, service, rich_rule, masquerade, icmp_block, icmp_block_inversion, interface or source at once", "prometheus_server_ip": "10.0.0.1" }