ansible-node-exporter icon indicating copy to clipboard operation
ansible-node-exporter copied to clipboard

Move user/group creation to configure tasks

Open gramosg opened this issue 3 years ago • 0 comments

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!

gramosg avatar Jul 29 '22 11:07 gramosg