https://rancher.com/ logo
Title
r

rapid-laptop-26276

08/28/2022, 4:40 PM
Is it possible to set up rancher initially e.g. via Ansible? I.e. submit the bootstrap token and create the first users?
r

rapid-laptop-26276

08/31/2022, 11:55 AM
Thank you for your quick reply. I followed the instructions from the rancher initial setup. I was able to edit the admin and communicate with the API through the bootstrap token. However, even after API communication, I still get the initial rancher page "It seems you haven't logged in yet". How can I change this?
l

lemon-midnight-46796

08/31/2022, 2:20 PM
I think that you are talking about Rancher asking to enter initial aka bootstrap password? I solved it by modifying helm upgrade with
--set bootstrapPassword={{ rancher_admin_initial_password }}
­čÖî 1
r

rapid-laptop-26276

09/04/2022, 10:52 PM
Ok, I have set the BootstrapPassword. However, I still get a page where I have to enter it and set an admin password. But I have already changed the admin password successfully via the API. But I can't log in with it, because I still don't get the sign-in page.
The goal with the ansible script is, that nobody has to set a password himself
I fixed it
The problem was, that the new password was less than 12 characters long
Thank you very much