-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
A dynamic inventory plugin (hetzner hcloud) may create host names including a dash. This will lead to parse error in lookup/pfsense.py in check_alias_name.
Is there a specific reason, why this character is not allowed?
Expected behavior
Host names should be allowed to contain dash characters
Playbook
Example playbook from repository
Output
TASK [Setup aliases, rules & seperators] *****************************************************************************************************
[ERROR]: Task failed: Finalization of task args for 'pfsensible.core.pfsense_aggregate' failed: Error while resolving value for 'aggregated_aliases': The lookup plugin 'pfsensible.core.pfsense' failed: fw-1_LAN_ips: the name of the alias may only consist of the characters "a-z, A-Z, 0-9 and _"
Environment
- What version of pfsensible.core? 0.7.1
- What version of ansible? core 2.20
- What version of pfSense? 2.8.1
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working