diff --git a/gso/services/lso_client.py b/gso/services/lso_client.py index 6bd5e9c04879ed0e2316872236de19273adeb0af..6e1ec8fa039dfddbe12bacf3e4c5b215ef7c3635 100644 --- a/gso/services/lso_client.py +++ b/gso/services/lso_client.py @@ -192,16 +192,16 @@ def indifferent_lso_interaction(provisioning_step: Step) -> StepList: ) -def anonymous_lso_interaction(provisioning_step: Step, validation_step: Step = _ignore_results) -> StepList: +def anonymous_lso_interaction(provisioning_step: Step, validation_step: Step = _evaluate_results) -> StepList: """Interact with the provisioning proxy :term:`LSO` without any user input. - Going one step further than the indifferent :term:`LSO` interaction, is the anonymous interaction. Output is ignored - and no input step is created to display the results. + Similar to the indifferent :term:`LSO` interaction, there also is the anonymous interaction. Output is not ignored + but no input step is created to display the results. A custom validation step may be given as input. This validation step should look inside the ``callback_result`` key - in the current state. + in the current state. By default, only the return code of the playbook execution is evaluated. :param Step provisioning_step: A workflow step to remotely provision a subscription. - :param Step validation_step: An optional validation step which defaults to a step that ignores the results. + :param Step validation_step: An optional validation step which defaults to a step that evaluates the return code. """ return ( begin