> On 8. Sep 2020, at 06:36, Aden Fissihaie <aden...@gmail.com> wrote: > > Hello all, > > I have a lab that is trying to integrate with Ansible and the lab > participants need a way to all access Gitlab without having to give each > member ssh keys, but rather a service account that allows all users > access...is this possible to do?
Hi, not exactly sure what you are trying to achieve. Gitlab has a concept for both a deploy key and a deploy token: https://docs.gitlab.com/ee/user/project/deploy_keys/ https://docs.gitlab.com/ee/user/project/deploy_tokens/ There is not much difference in distributing one or the other to your lab participants. The Ansible `git` module itself shouldn't care: * With a deploy key you simply load it into your SSH agent as you do with your personal key. * With a deploy token, the token is part of the repo URL (see usage section of above docs link) and can be filled in e.g. from an env variable. Personally, I prefer a deploy key. (In particular for the technical reason that you can't recursively clone Git submodules when using a token.) Hope this helps Cheers -Andi -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/C41C1C39-6DA7-43DA-B58A-4C21EE887869%40gmail.com.