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
{{ message }}
This repository was archived by the owner on Apr 5, 2023. It is now read-only.
It’s not always 100% clear where functionality should go, either to the ansible repo or the app one. So for example:
When do we create privileged scripts and implement the logic around it in a shell script, vs. when do we just add a sudoer’s entry for a specific command and implement the other logic in Python?
How do we go about repetition between the two repos, e.g. when certain parameters are needed in both repositories? Example: configfs paths for mass storage, that we have both in the app and in ansible.
Does the fact that we have mock scripts for local development justify single-line privileged scripts, only for the sake of mocking them out? Or is it okay to just use debug toggles for that? What is our general approach towards dev-prod-parity?
It’s probably hard to come up with a definite answer, but at least we could try writing up some guidelines that help us make consistent decisions.
PRs/Issues during which that discussion came up already: