You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another thing that can be done is validate the Mac Address as well
We should also probably change the name of validate_host_names.yaml to validate.yaml for generic validations. We could also break them up into individual files. I'm open for suggestions on that front.
The text was updated successfully, but these errors were encountered:
We should improve validate_host_names.yaml by making it clearer to match the regex for a valid internet host and then fail.
ValidHostnameRegex = "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$"
item is search('{{ ValidHostnameRegex }}')
Another thing that can be done is validate the Mac Address as well
We should also probably change the name of
validate_host_names.yaml
tovalidate.yaml
for generic validations. We could also break them up into individual files. I'm open for suggestions on that front.The text was updated successfully, but these errors were encountered: