use variable with a default in a role

I have this role (roles/dummy/tasks/main.yml) :

Is it a bug or not ?