Many ways to do this, I recommend using different groups for each and then assigning variables with the different configurations, use those variables in the plays.
To store this data 'externally from playbook' I would use group/host_vars. As for inventory, it does not need to be files, via the dynamic scripts you can use any source of data to generate the inventory for Ansible, check the existing ones as they should cover most common cases. -- ---------- 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/CACVha7dTzBn80Mz_%2BRD9ur%2BNZbYUf5BDHubHGCz3jtM%2BV326-w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
