On 03.01.17 17:30 [email protected] wrote: > I guess I'm still not connecting the dots as to how site.yml (in > their example) would know which inventory, host_vars, and > group_vars to load. Is there an ansible.cfg that also needs to be > split into the 'production' and 'staging' directories?
As I understood it the distinction is yours to make, e.g. calling ansible-playbook with "-i production/hosts" or by setting the correct environment variable. Ansible does not automagically know which group you want to target. Johannes -- 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/26b41c00-1c35-775e-7e8f-e427221df19c%40ojkastl.de. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
