Skip to content

cml_lab_facts module does not have fallback to ENV var CML_LAB #40

@tvarohohlavy

Description

@tvarohohlavy

There is an inconsistency between modules regarding the CML_LAB environmental variable usage.

cml_lab_facts does not have fallback to this ENV var:

argument_spec.update(lab=dict(type='str', required=True), )

but others do have it:

lab=dict(type='str', required=True, fallback=(env_fallback, ['CML_LAB'])),

lab=dict(type='str', required=True, fallback=(env_fallback, ['CML_LAB'])),

It would make sense to have the same behavior when using ENV vars across all modules.

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