Skip to content

Feature: Survey variables for Python on/off flag args #3975

Description

@adoux

Related to

Ansible (task execution)

Impact

nice to have

Missing Feature

Python scripts can be provided with store_true or store_false flag arguments, for example --dry-run.
Currently it is not possible to use Survey variables to provide (or not) these flag arguments.
I tried playing around with Survey variables, using String or Enum but there is no way to make it work as far as I can tell.

Implementation

When creating a survey variable for a template, the type could maybe be bool, switch or on/off flag, and then when creating a template run, the survey variable would be a checkbox, it would be provided if checked, or not provided at all if not checked.

Design

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions