cloudalchemy / ansible-node-exporter

Provision basic metrics exporter for prometheus monitoring tool
MIT License
501 stars 270 forks source link

Move user/group creation to configure tasks #267

Closed gramosg closed 1 year ago

gramosg commented 2 years ago

Hello!

This PR moves the user/group creation tasks from the install.yml task group to configure.yml.

The reason is that install.yml is skipped if there's an existing node_exporter installation, not creating the user/group and failing afterwards. In our case, we had a manually installed node_exporter and the playbook failed when the "Create textfile collector dir" task tried to chown to a non-existing user.

Thank you!

SuperQ commented 1 year ago

This role has been deprecated in favor of a the prometheus-community/ansible collection.