I have the following directory structure. The my-play-reqs.yml file 
contains the roles that I need for the my-play.yml playbook.
/path_to_playbooks/my-play.yml
/path_to_playbooks/requirements/my-play-reqs.yml

...and I run the following command to install my roles
$ cd/path_to_playbooks
$ ansible-galaxy install -r requirements/my-play-reqs.yml -p roles/ --force

...and I expect the roles to be installed /path_to_playbooks/roles. 
However, they're installed in /etc/ansible/roles instead. The 
/etc/ansible/ansible.cfg file does have this line
roles_path    = /etc/ansible/roles:/usr/share/ansible/roles

...but shouldn't the "-p roles/" option overried that and put the roles 
in  /path_to_playbooks/roles?

-- 
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/1d74f141-07c9-4539-8484-f072a03f856d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to