mesaguy / ansible-prometheus

Ansible role for the management of Prometheus software and Prometheus exporters
https://galaxy.ansible.com/mesaguy/prometheus
MIT License
71 stars 31 forks source link

swap copy module for template #46

Open Muffin9000 opened 1 year ago

Muffin9000 commented 1 year ago

Some snmp_exporter configuration files require to have sensitive data, such as for cmc devices. By swapping the copy module on line 50 to template in the snmp_exporter task you can pass passwords and usernames through variables.