Bug 1447996
Summary: | [RFE] Proxy support for Git access | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Christian Jung <cbolz> |
Component: | Providers | Assignee: | Greg Blomquist <gblomqui> |
Status: | CLOSED DUPLICATE | QA Contact: | Dave Johnson <dajohnso> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.8.0 | CC: | bsorota, cbolz, jfrey, jhardy, krain, obarenbo |
Target Milestone: | GA | Keywords: | FutureFeature |
Target Release: | cfme-future | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-06-27 14:43:03 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | CFME Core | Target Upstream Version: | |
Embargoed: |
Description
Christian Jung
2017-05-04 11:20:27 UTC
HiHo, with the new embedded Ansible, you can define a repository from which CF will clone the Playbooks. This repository can be an internal or external git repo. Including, but not limited to, github.com Most enterprise customers only allow access to internet pages via Proxy Server. Currently it is not possible to define the proxy details which should be used to clone an external git repo. The same applies to Automate. Since a while, you can define a git repo from which CF will clone the Automate domains. AFAIK right now it's also not possible to configure a proxy server for this. Hope this helps, Christian A temporary workaround for this is as follows: Navigate to /var/lib/awx/venv/tower/lib/python2.7/site-packages/awx/playbooks/project_update.yml Add the proxy info to the hosts info starting on line 14 like this: - hosts: all connection: local gather_facts: false environment: http_proxy: http://your.special.proxy:PORT https_proxy: https://your.special.proxy:PORT save the file and try to pull down the repo again. profit. if you have a user:pass use this syntax: http_proxy: http://username:pass@proxy.com:8080 HiHo, sounds like it. I originally created this for the git support in Automate, where you can import code from git. Starting with 4.5 we can also import playbooks from git, which should have proxy support as well. Ideally it would be perfect if you can configure the proxy per repository. Some repo could be on github, while another one could be on an internal git, making it important to differentiate. Regards, Christian *** This bug has been marked as a duplicate of bug 1461213 *** |