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.
Hello!
This PR moves the user/group creation tasks from the
install.yml
task group toconfigure.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!