Skip to content
Unverified Commit 303dd1cb authored by Ali Afsharzadeh's avatar Ali Afsharzadeh Committed by GitHub
Browse files

Enable reserved variable name checks and fix violations (#12463)



* Enable reserved variable name checks and fix violations

Updated .ansible-lint configuration to skip only var-naming[pattern]
and var-naming[no-role-prefix] instead of skipping the entire var-naming rule.
This enables the check for reserved variable names.

Renamed variables that used reserved names to avoid conflicts.
Updated all references in tasks, variables, and templates.

Signed-off-by: default avatarAli Afsharzadeh <afsharzadeh8@gmail.com>

* Rename namespace variable inside tasks instead of deleting it

Signed-off-by: default avatarAli Afsharzadeh <afsharzadeh8@gmail.com>

* Change hosts variable to vm_hosts

Signed-off-by: default avatarAli Afsharzadeh <afsharzadeh8@gmail.com>

* Use k8s_namespace instead of dashboard_namespace in dashboard.yml.j2 template

Signed-off-by: default avatarAli Afsharzadeh <afsharzadeh8@gmail.com>

---------

Signed-off-by: default avatarAli Afsharzadeh <afsharzadeh8@gmail.com>
parent eb4f6d73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment