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
When name is start with character that is not in a locale that has the casing concept, skip the rule.
Actual Behavior
$ ansible-lint playbooks/ping.yml
WARNING: PATH altered to include /home/brlin/.local/pipx/venvs/ansible/bin
WARNING Listing 2 violation(s) that are fatal
name: All names should start with an uppercase letter. (name[casing])
playbooks/ping.yml:2
name: All names should start with an uppercase letter. (name[casing])
playbooks/ping.yml:5 Task/Handler: 檢查被控端是否可以連接
Finished with 0 failure(s), 2 warning(s) on 1 files.
The text was updated successfully, but these errors were encountered:
brlin-tw
changed the title
name[casing]: False positive when Chinese task name are used
name[casing]: False positive when Chinese task/play names are used
Aug 26, 2022
For the moment you can add name[casing] to ignore list, which will disable this check. We need to decide if we want to just document this or alter the implementation to make it really trigger when first character is lowercase (as opposed to checking for uppercase presence). Probably we will include a fix in the next patch. Thanks for reporting it.
Summary
The following error is triggered in our integration tests:
Issue Type
Ansible and Ansible Lint details
OS / ENVIRONMENT
OS: Ubuntu 22.04
STEPS TO REPRODUCE
Desired Behavior
When
name
is start with character that is not in a locale that has the casing concept, skip the rule.Actual Behavior
The text was updated successfully, but these errors were encountered: