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
The question here is what's the threshold to prompt vs just go ahead? I think we can add a DDL annotation per action, something like "confirm": true, "confirm_prompt": "This will restart {{count}} machines"", in the choria config then we set the specific threshold of 10, 100 or 1000. Over that threshold the prompt is activated if there is a TTY involved
We might also add a option to prompt on unfiltered, something like we have in package app:
Some thoughts based on https://rachelbythebay.com/w/2020/10/26/num/
The question here is what's the threshold to prompt vs just go ahead? I think we can add a DDL annotation per action, something like
"confirm": true, "confirm_prompt": "This will restart {{count}} machines""
, in the choria config then we set the specific threshold of 10, 100 or 1000. Over that threshold the prompt is activated if there is a TTY involvedWe might also add a option to prompt on unfiltered, something like we have in package app:
https://github.com/choria-plugins/package-agent/blob/31fde418a7d4b160b042c97e49c6274b31094096/application/package.rb#L45
The text was updated successfully, but these errors were encountered: