-
Notifications
You must be signed in to change notification settings - Fork 685
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
Warn or fail when running outdated playbook #5317
Comments
See the older issue #2964 for some ideas for how this could be implemented. Tentatively adding for consideration to the Focal epic, as this would potentially mark a nice cutoff for us to ensure that all new installs on Focal have this logic in place. |
Anecdata supports this issue! |
Implementation proposalAfter evaluating several options, I would propose a pragmatic implementation within We would perform a Advantages of this approach:
Disadvantages:
Alternatives worth considering
|
Started with the Early comments welcome, next I'll take a closer look at error cases and tests. |
In 4192093, I've refactored this into a decorator, which allows us to mark any |
It's not uncommon that admins run an outdated playbook, because they've not updated their Admin Workstation for whatever reason (e.g. due to an update failure). Running an outdated playbook can have harmful consequences, reinstating changed configurations, or even breaking functionality. For an existing install,
securedrop-admin install
should attempt to obtain the version info from the server, and fail or warn if it doesn't correspond to the version info running on the workstation.User Story
As an administrator, I don't want to accidentally mess up the configuration of my SecureDrop installation, so that I can avoid spending the rest of my afternoon debugging what I just did.
The text was updated successfully, but these errors were encountered: