Skip to content

Ability for wizard to run action with arguments and options #151

@davidferlay

Description

@davidferlay

Observed

  • Actions listed in ui-wizard.yaml are defined only by action id, like:
uiWizard:
  title: Platform initialization
  description: Follow the steps below to setup a new platform.
  success: Platform initialization finished
  steps:
    - title: Action 1 title
      description: Action 1 description
      actions:
        - platform:var-set
    - title: Action 2 title
      description: Action 2 description
      actions:
        - dependencies
  • Where action ids are:
    • platform:var-set
    • dependencies

Expected

  • Would be great for actions listed in ui-wizard.yaml to define also arguments and options, like:
uiWizard:
  title: Platform initialization
  description: Follow the steps below to setup a new platform.
  success: Platform initialization finished
  steps:
    - title: Action 1 title
      description: Action 1 description
      actions:
        - platform:var-set machine_platform_name something platform/group_vars/platform/vars.yaml
    - title: Action 2 title
      description: Action 2 description
      actions:
        - dependencies platform/softwares/roles/dragonfly/ --mrn
  • Where action ids are:
    • platform:var-set machine_platform_name something platform/group_vars/platform/vars.yaml
    • dependencies platform/softwares/roles/dragonfly/ --mrn
  • Defined arguments and options should then pre-populate form fields of action

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions