All,

Is it possible to have the site.yml file and hosts file in a subdirectory 
like this:

root/
   group_vars/
   roles
      ....
   sites/
     office_name/
       hosts
       site.yml
  
When I tried to do this with ansible-playbook sites/office_name/hosts -i 
sites/office_name/site.yml 
I got an error message about being unable to find roles.

Do I need to change the roles_path setting - or is this not possible.
The reason is for a shared project with multiple sites and I dont want 
everything at the top level.

Cheers
Dan

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6b5064e9-32a8-448c-af88-34855ad23033%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to