I know I can... $ ansible-galaxy install -r requirements.yml -p ./roles
On Monday, October 2, 2017 at 3:17:01 PM UTC-4, ZillaYT wrote: > > Ah. I want to set it b/c I want to run the following to clone the roles > defined in my current playbook's requirements.yml file in a roles > sub-directory relative to my playbook. > > $ ansible-galaxy install -r requirements.yml > > So if my playbook is in.... > > /home/myuser/ansible-plays/myplaybook.yml > > ...and I run above command in that dir, I want the roles to be in > > /home/myuser/ansible-plays/roles > > Thanks again > > > On Monday, October 2, 2017 at 3:08:03 PM UTC-4, Brian Coca wrote: >> >> That is my point, i don't recommend ever using 'cur dir', if invoking >> a play, it already uses a roles/ dir adjacent to the play, I would use >> that or a directory set by configuration. >> >> >> >> >> -- >> ---------- >> 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/2fc9aa2b-6923-4de4-9b80-895ae0bd34f8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
