a play is a host to task mapping, roles are a group of tasks, as long
as they are in the same hosts mapping they are in the same play:

- hosts: all
  roles:
    - role1
    - role2

you can have additional plays in the same file or execute several
files in the same invocation, both of these are named playbooks
(contains plays, at least 1).


-- 
Brian Coca

-- 
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/CAJ5XC8n3E26etnDdc3h4hBSAuYVvF%3DUjhwAr-x_09sqE3xsGEA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to