I don't want to change the current behavior, just add to it. This wouldn't stop using the playbook basedir as the primary place to look. But you're right, it would change the execution based on where you execute the command. But only if you were using the cwd feature. This wouldn't stop using the playbook basedir as the primary place to look.
If there's a better way than I'm open to it. Maybe it's a flag that can be turned on per playbook? Or maybe a playbook can have a search_paths parameter to list places to look. Or something else? All of this cwd discussion comes out of the fact that I'm trying to avoid having 50+ (now, likely closer to 100 later on) playbooks littering a single directory. If there's a better way, I'm open to it. On Fri, Jul 18, 2014 at 10:23 AM, Brian Coca <[email protected]> wrote: > You want to change behavior from relative to playbook to relative to where > you run them from? I find that less intuitive, having it relative to > playbook gives you clear 'packaging', if I decide to run the playbook when > I'm in /var/tmp and now it behaves differently, I would find that very > confusing. > > -- > 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/CADn%2BHsxe7fv4S1r470LOc4SZrioDZQLf5P6rZBhH4uxQC7n%2B0A%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- 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/CAJQqANe%3DW6Dzh33%2BV-xPBC9WcSgm77wKAZhm%2B8m%2BZptKJAsAOg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
