Comments (6)
I'm guessing if I don't pre-change the password worse case scenario I revert to the old password and it works again?
Yes.
m_set_admin_password
runs only once because the file /var/lib/jenkins/setup_done.txt is created at the end of the first run of the setup sequence and prevents further runs.
from aws-cf-templates.
Oh so that's what test
means. Thanks :)
Just noticed that even that query would read from /var/lib/jenkins/secrets/initialAdminPassword
so that wouldn't work anyway.
Alright then yeah I guess changing the password first on Jenkins then in the template probably works. :)
Thanks :)
from aws-cf-templates.
Manually changing the password then updating the template didn't get the master to restart automatically because it only updated the cfn-init resource, so I had to restart it manually by triggering an "instance refresh".
Other than that it worked fine. :)
from aws-cf-templates.
From checking the templates I would suggest you change the admin user password using the Jenkins UI. After that, you update the CloudFormation stack with the new password.
I highly recommend to test the approach with a separate jenkins installation.
You better create a backup before doing so.
This is just working in theory. I never tried it.
from aws-cf-templates.
I'm guessing if I don't pre-change the password worse case scenario I revert to the old password and it works again?
Do you have any insight as to whether the m_set_admin_password
script I mentioned above is theoritically supposed to run at every boot or only when provisioning the stack?
from aws-cf-templates.
Let us know how it goes :)
from aws-cf-templates.
Related Issues (20)
- Jenkins plugin dependencies not installed HOT 5
- Jenkins2-ha deployment failing: Unable to satisfy 100% MinSuccessfulInstancesPercent requirement HOT 4
- Monitoring ElastiCache redis is broken
- ElastiCache-Redis cannot UPDATE Template to use more than 1 Shard (clustermode:off -> on) HOT 2
- Updating Jenkins template HOT 2
- Jenkins fails to boot due to wrong ruby version HOT 4
- Static Website - Use new CloudFront Functions for URL redirects instead of Lambda@Edge HOT 1
- jenkins agents fail to start due to missing nodejs requirement HOT 3
- CloudTrail LogsStream Details HOT 3
- ECS Cluster - AutoScaling errors HOT 1
- Incorrect test and typo in test for `h_download_jenkins_plugin_manager` step HOT 1
- How to use Fargate Spot instances? HOT 2
- Add link to documentation for private ECR access from private subnet with no NAT gateway HOT 1
- jenkins2-ha-agents does not scale down if there is at least one job running HOT 1
- Documentation on UserData field EC2 template HOT 7
- Jenkins template broke because mirror is down HOT 2
- Support Graviton instance types HOT 1
- upgrade from Amazon Linux 2 to Amazon Linux 2023 HOT 2
- Aw
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-cf-templates.