Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password Update Fails #392

Open
muellert opened this issue Oct 1, 2024 · 0 comments
Open

Password Update Fails #392

muellert opened this issue Oct 1, 2024 · 0 comments

Comments

@muellert
Copy link

muellert commented Oct 1, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant