You might have noticed that the latest ansible-lint is showing issues with variable names:

roles/rsyslog/tasks/main_core.yml:358: var-naming[no-role-prefix]: Variables names from within roles should use role_name_ as a prefix. (vars: __file__)
roles/rsyslog/tasks/main_core.yml:358: var-naming[no-role-prefix]: Variables names from within roles should use role_name_ as a prefix. (vars: __line__)
roles/rsyslog/tasks/main_core.yml:120: var-naming[no-role-prefix]: Variables names from within roles should use role_name_ as a prefix. (vars: __rsyslog_global_common_rule)

Or perhaps it is flagging a variable that begins with `ansible_`

These are fixed by https://github.com/ansible/ansible-lint/pull/3458

roles/rsyslog/tasks/deploy.yml:13: var-naming[no-role-prefix]: Variables names from within roles should use role_name_ as a prefix. (register: __rsyslog_deploy_templates)
roles/rsyslog/tasks/deploy_nolog.yml:17: var-naming[no-role-prefix]: Variables names from within roles should use role_name_ as a prefix. (register: __rsyslog_deploy_nolog_templates)

This has been reported as https://github.com/ansible/ansible-lint/issues/3452

Some of the others we will need to fix e.g.

var-naming[no-role-prefix]: Variables names from within roles should use role_name_ as a prefix. (vars: tasks)

https://github.com/linux-system-roles/logging/blob/main/roles/rsyslog/tasks/main_core.yml#L202

In this case, the `tasks` variable should be renamed to `__rsyslog_tasks`