Hi, what do I do wrong?

---
- hosts: all
  user: "{{ item }}"
  sudo: True
  with_items:
      - "{{ sudoUser }}"
  roles:
    - common

ERROR: with_items is not a legal parameter at this level in an Ansible 
Playbook

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d71b9150-5fdb-455e-a775-01b1b8c2a880%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to