You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the role once when there is no Jenkins installed, works, but running it the second time with an updated password fails. By commenting out the deletion of the groovy file at the end of tasks/main.yml, I found that the password does not get updated, but the handler does not emit an error message, either.
The upshot is that the old password persists, and that plugin installations fail. Also, the file '/var/lib/jenkins/secrets/initialAdminPassword' does not appear to be created at all, despite my purging the jenkins installation between runs (should result in a clean-enough slate to make a run 'initial'), which then prevents one from reading the credentials in a subsequent task, or later when one might not have access to the inventory to retrieve it from there.
I'm running on Debian Bookworm/amd64 with ansible-playbook [core 2.16.3] from a virtuaenv and Jenkins version 2.478.
The text was updated successfully, but these errors were encountered:
Running the role once when there is no Jenkins installed, works, but running it the second time with an updated password fails. By commenting out the deletion of the groovy file at the end of tasks/main.yml, I found that the password does not get updated, but the handler does not emit an error message, either.
The upshot is that the old password persists, and that plugin installations fail. Also, the file '/var/lib/jenkins/secrets/initialAdminPassword' does not appear to be created at all, despite my purging the jenkins installation between runs (should result in a clean-enough slate to make a run 'initial'), which then prevents one from reading the credentials in a subsequent task, or later when one might not have access to the inventory to retrieve it from there.
I'm running on Debian Bookworm/amd64 with ansible-playbook [core 2.16.3] from a virtuaenv and Jenkins version 2.478.
The text was updated successfully, but these errors were encountered: