Using an int for task name

Hello,

I’m looking to contribute to Ansible and started looking at this issue: Github #19520.

Is using an int as a task name is expected to work? I’m guessing not since it isn’t permitted for role names (this is checked for here) but I wanted to verify before working on any changes.

Thanks,
Rob