prometheus-community / ansible

Ansible Collection for Prometheus
https://prometheus-community.github.io/ansible/
Apache License 2.0
396 stars 133 forks source link

_common role change breaks user updates #426

Closed SuperQ closed 1 month ago

SuperQ commented 1 month ago

When switching to the new common role, I end up with failed updates due to the user changes.

TASK [prometheus.prometheus._common : Create system user blackbox-exp] *********
fatal: [demo]: FAILED! => {"changed": false, "msg": "usermod: user blackbox-exp is currently used by process 401245\n", "name": "blackbox-exp", "rc": 8}
gardar commented 1 month ago

Hmm, can you check the verbose output? I'm wondering if the old user had a different home directory or shell, there were some inconsistencies between the roles for those.