Skip to content
Snippets Groups Projects

add anonymous_indifferent_lso_interaction step

All threads resolved!
2 files
+ 37
2
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 22
0
@@ -267,3 +267,25 @@ def anonymous_lso_interaction(provisioning_step: Step, validation_step: Step = _
)
>> _clean_state
)
def anonymous_indifferent_lso_interaction(provisioning_step: Step) -> StepList:
"""Interact with the provisioning proxy LSO without any user input.
Similar to the anonymous LSO interaction, but indifferent about the outcome of the Ansible playbook that is executed
Args:
provisioning_step: A workflow step to remotely provision a subscription.
"""
return (
begin
>> provisioning_step
>> _inventory_is_not_empty(
callback_step(
name="Running Ansible playbook",
action_step=_execute_playbook,
validate_step=_ignore_results,
)
)
>> _clean_state
)
Loading