DevOps/Ansible/Use loops in task

Ansible offers two keywords for creating loops:  and.

$ vim create-users.yml --- - name: Create New Users hosts: all gather_facts: false tasks: - name: Create Users Task user: name: "" state: present password: "" shell: /bin/bash groups: "" append: true loop: - bob - wendy - lofty - dizzy ...