-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot clone GIT repo over HTTPS (self-signed server cert issue) #490
Comments
closing as duplicate of #416 |
[3.2.2] Delete all hosts or groups from inventory source
To turn off certificate verification completely add |
This is not working.. Any ideas?
EDIT: AWX_TASK_ENV has "defined_in_file": true, is possible to override it somehow? |
@muhahacz after running a job, can you visit:
...and confirm that |
@ryanpetrello In fact I guess that I cannot set any AWX_TASK_ENV variable, if this option has "defined_in_file": true set. I can not event set it in web gui ( http://awx/#/configuration/jobs ) |
@muhahacz you've defined |
@lukasmrtvy The following response above you from @kuklis helped me in the workaround.
|
I know it's been a while for that issue, but hope it will assist others. You can add this extra variable in the Jobs Settings via the AWX web interface (http://awx/#/settings/jobs) under "EXTRA ENVIRONMENT VARIABLES" { |
Thanks to this post, I was able to pass the config in the following way:
python3 -m pip install awxkit
awx -k settings modify AWX_TASK_ENV '{ "HOME": "/var/lib/awx", "GIT_SSL_NO_VERIFY": "True" }' --conf.token <xyz> |
Addition: In the new AWX-Version ( |
Utilizes the `validate_role_assignment` callback from dab (see dab PR ansible#490) to prevent granting credential access to a user of another organization. This logic will work for role_user_assignments and role_team_assignments endpoints. Signed-off-by: Seth Foster <[email protected]>
Utilizes the `validate_role_assignment` callback from dab (see dab PR ansible#490) to prevent granting credential access to a user of another organization. This logic will work for role_user_assignments and role_team_assignments endpoints. Signed-off-by: Seth Foster <[email protected]>
Utilizes the `validate_role_assignment` callback from dab (see dab PR ansible#490) to prevent granting credential access to a user of another organization. This logic will work for role_user_assignments and role_team_assignments endpoints. Signed-off-by: Seth Foster <[email protected]>
Utilizes the `validate_role_assignment` callback from dab (see dab PR ansible#490) to prevent granting credential access to a user of another organization. This logic will work for role_user_assignments and role_team_assignments endpoints. Signed-off-by: Seth Foster <[email protected]>
Utilizes the `validate_role_assignment` callback from dab (see dab PR #490) to prevent granting credential access to a user of another organization. This logic will work for role_user_assignments and role_team_assignments endpoints. Signed-off-by: Seth Foster <[email protected]>
Utilizes the `validate_role_assignment` callback from dab (see dab PR ansible#490) to prevent granting credential access to a user of another organization. This logic will work for role_user_assignments and role_team_assignments endpoints. Signed-off-by: Seth Foster <[email protected]>
Utilizes the `validate_role_assignment` callback from dab (see dab PR ansible#490) to prevent granting credential access to a user of another organization. This logic will work for role_user_assignments and role_team_assignments endpoints. Signed-off-by: Seth Foster <[email protected]>
ISSUE TYPE
COMPONENT NAME
SUMMARY
I am trying to clone a repository from our internal Bitbucket server. The server runs with a self signed certificate. The clone operation breaks due to
Peer's Certificate issuer is not recognized
.As a workaround, I tried to disabled SSL verification via the
.gitconfig
for theroot
user on theawx-task
container, but with no luck. The process forked by AWX seems to ignore that. Second problem would be that this is just a transient solution.The following Stackoverflow post describes another issue related to this:
https://serverfault.com/questions/877530/git-called-by-awx-ignores-manually-installed-root-ca
This is essentially a showstopper for us, as we cannot clone Ansible provisioning code without pain.
ENVIRONMENT
1.0.1.81
2.4.0.0
62.0.3202.62
STEPS TO REPRODUCE
Project
via the UIEXPECTED RESULTS
Project
creation page that disables SSL verification for the given projectgit clone
task command needs to leverage that settingACTUAL RESULTS
ADDITIONAL INFORMATION
The text was updated successfully, but these errors were encountered: