Skip to content

cluster names with - cause ansible warnings #705

@sjpb

Description

@sjpb

cluster name is used to generate group names, and these raise a warning if these have a dash in them:

[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details

From https://docs.ansible.com/ansible/latest/inventory_guide/intro_inventory.html#inventory-basics-formats-hosts-and-groups

Group names should follow the same guidelines as Creating valid variable names.

the actual error is hard to find!

Could just add validation for this?

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