On 22. nov. 2016 19:53, [email protected] wrote: > However, it seems that my plays can no longer find my group_vars and other > such objects. Basic structure is below: > ansible.cfg > .ansible/inventory > playbooks/ > pb.yml > roles/ > # roles... > host_vars/ > # host_vars... > group_vars/ > # group_vars... > > Should host and group vars also be moved? They worked fine before I moved > playbooks from top level dir to their own dir.
Ansible is looking for host_vars and group_vars in the inventory file directory or the playbook directory. If they exist in both, playbook directory overrides. -- Kai Stian Olstad -- 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/3eed01a4-2656-83a3-8bad-28fad54d2082%40olstad.com. For more options, visit https://groups.google.com/d/optout.
