Looks like we have crossed messages.

Ansible is pretty flexible, if that suits your need then that's good enough.

If you use a role you can do away with the include_vars but putting your 
serverlist var in a vars/main.yml under your role.  Roles are nice as they 
can magically load lots of stuff like variables - 
see http://docs.ansible.com/ansible/playbooks_roles.html#roles

You might find you want to pass in the list of servers with the -e trick 
too, just depends on how much re-usability you need from your playbook - 
see 
http://docs.ansible.com/ansible/playbooks_variables.html#passing-variables-on-the-command-line

HTH

Jon

-- 
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/d8e6b851-be19-4b9e-9ed8-f684136d712c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to