You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, note that if I modify the App configuration (instead of Global configuration), then it correctly use ansible-galaxy binary:
It still fails but for an other reason, the user root has no permission to clone my private repository.
But I don't want this solution because:
I want my downloaded role to be in /srv/app/ansible/roles
I don't want to deal with root and cloning permission issue, I want my user app to clone the repo (well I still have cloning permission issue with app user 😝 )
Actual workaround
Using a classic requirements.yml file and executing ansible-galaxy manually.
So my question is, is there a way to use ansible-galaxy for the Global configuration?
Am I missing something?
Thanks 😄
The text was updated successfully, but these errors were encountered:
Kocal
changed the title
[ansible-galaxy] I can't choose to don't use alt-galaxy
[ansible-galaxy][manalize} I can't choose to don't use alt-galaxyAug 16, 2019
Kocal
changed the title
[ansible-galaxy][manalize} I can't choose to don't use alt-galaxy
[ansible-galaxy][manalize] I can't choose to don't use alt-galaxyAug 16, 2019
Hi,
Some context
Inside a configuration created by Manalize, I'm trying to configure ansible-galaxy to download a role dependency from a private GitLab repository.
But it does not work with
alt-galaxy
, so I want to useansible-galaxy
:What I've tried
I've tried to define
manala_ansible_galaxy_bin
variable withansible-galaxy
but it does not do anything, it still usealt-galaxy
.This is my
ansible/ansible.yml
file:The previous steps about
alt-galaxy
are skipped, so it should not changemanala_ansible_galaxy_bin
variable value (https://github.com/manala/ansible-roles/blob/master/manala.ansible_galaxy/tasks/alternatives.yml#L12).### Possible solution
Also, note that if I modify the
App
configuration (instead ofGlobal
configuration), then it correctly useansible-galaxy
binary:It still fails but for an other reason, the user
root
has no permission to clone my private repository.But I don't want this solution because:
/srv/app/ansible/roles
I don't want to deal with root and cloning permission issue, I want my user(well I still have cloning permission issue withapp
to clone the repoapp
user 😝 )Actual workaround
Using a classic
requirements.yml
file and executingansible-galaxy
manually.So my question is, is there a way to use
ansible-galaxy
for theGlobal
configuration?Am I missing something?
Thanks 😄
The text was updated successfully, but these errors were encountered: