How to use Ansible's with_item with a variable?

Solution 1:

I thought I did read somewhere that with_items accepts a bare variable name, but it's not the case.

The program runs as expected using:

with_items: "{{ users }}"