I think I found a workaround.
ansible looks for ansible.cfg in the current working directory, before
looking in ~/.ansible.cfg or /etc/ansible.cfg
So I can include within the playbook directory:
inventory = ./hosts
roles_path = ../shared/roles
This works as long as the user does:
(However I'd still like to be able to set roles_path within a playbook,
this would be a cleaner solution)
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 post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.