On 5 September 2017 at 17:33, Ash Powell <[email protected]> wrote:
> I'm not sure that this would work for us as we might have multiple people
> using/running the same role so it would need to be a common location (ie not
> a home folder)

Storing roles in home directories is not a problem.
I use a similar setup as Steve Saner.
Different users needs to make sure only two things:
1. Check out a git repo into an 'ansible' directory in their home directory.
2. Everyone has the same .ansible.cfg file in his homedirectory.

Relevant for this exercise:

[defaults]
inventory = ~/ansible/inventory.yml
roles_path = ~/ansible/roles
filter_plugins = ~/ansible/filters

You could even store the .ansible.cfg in the git repo and symlink
that, so to keep everyone with the same specs -YMMV.

Dick



-- 
Dick Visser
GÉANT

Want to join us? We're hiring: https://www.geant.org/jobs

-- 
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/CAL8fbwMXTa_3aNs4yBp6PjXfVz-wxDduDWj_j%3DN94UJc-GQDeA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to