{"id":16780574,"url":"https://github.com/monolithprojects/ansible-http_proxy_client","last_synced_at":"2026-02-06T07:02:01.637Z","repository":{"id":56371826,"uuid":"296341324","full_name":"MonolithProjects/ansible-http_proxy_client","owner":"MonolithProjects","description":"This Ansible role will setup HTTP/HTTPS/FTP Proxy client.","archived":false,"fork":false,"pushed_at":"2020-11-11T17:55:45.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T20:21:27.354Z","etag":null,"topics":["apt","client","ftp","http","https","proxy","proxy-client"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/monolithprojects/http_proxy_client","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MonolithProjects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["monolithprojects"]}},"created_at":"2020-09-17T13:52:32.000Z","updated_at":"2020-11-11T17:51:50.000Z","dependencies_parsed_at":"2022-08-15T17:31:08.132Z","dependency_job_id":null,"html_url":"https://github.com/MonolithProjects/ansible-http_proxy_client","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/MonolithProjects/ansible-http_proxy_client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonolithProjects%2Fansible-http_proxy_client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonolithProjects%2Fansible-http_proxy_client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonolithProjects%2Fansible-http_proxy_client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonolithProjects%2Fansible-http_proxy_client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MonolithProjects","download_url":"https://codeload.github.com/MonolithProjects/ansible-http_proxy_client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonolithProjects%2Fansible-http_proxy_client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266714430,"owners_count":23973120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apt","client","ftp","http","https","proxy","proxy-client"],"created_at":"2024-10-13T07:35:27.217Z","updated_at":"2026-02-06T07:02:01.507Z","avatar_url":"https://github.com/MonolithProjects.png","language":null,"readme":"# Proxy client setup (Ansible Role)\n\n[![Galaxy Quality](https://img.shields.io/ansible/quality/50801?style=flat\u0026logo=ansible)](https://galaxy.ansible.com/monolithprojects/http_proxy_client)\n[![Role version](https://img.shields.io/github/v/release/MonolithProjects/ansible-http_proxy_client)](https://galaxy.ansible.com/monolithprojects/http_proxy_client)\n[![Role downloads](https://img.shields.io/ansible/role/d/50801)](https://galaxy.ansible.com/monolithprojects/http_proxy_client)\n[![GitHub Actions](https://github.com/MonolithProjects/ansible-http_proxy_client/workflows/molecule%20test/badge.svg?branch=master)](https://github.com/MonolithProjects/ansible-http_proxy_client/actions)\n[![License](https://img.shields.io/github/license/MonolithProjects/ansible-http_proxy_client)](https://github.com/MonolithProjects/ansible-http_proxy_client/blob/master/LICENSE)\n\nThis Ansible role will setup HTTP/HTTPS/FTP Proxy client in the Linux system (/etc/environment), Advanced Package Tool (APT) and Docker service.\n\n**Note:** This Ansible role can run eather befor or after the Docker service is installed.\n\n## Requirements\n\n* Role works on most Linux distributions\n\n* Weekly tested on:\n  * CentOS/RHEL 7,8\n  * Debian 9,10\n  * Fedora 31,32\n  * Ubuntu 16,18,20\n\n* Root privilegies\n\n* Ansible 2.6+.\n\n## Role Variables\n\nThis is a copy from `defaults/main.yml`\n\n```yaml\n# Set the Proxy server address value (i.e. http://1.2.3.4:3128)\n\n# Addresses excluded from the traffic via Proxy\nno_proxy: \"localhost,127.0.0.1\"\n\n# Proxy server address for HTTP traffic\n# http_proxy: \u003caddress\u003e\n\n# Proxy server address for HTTPS traffic\n# https_proxy: \u003caddress\u003e\n\n# Proxy server address for FTP traffic\n# ftp_proxy: \u003caddress\u003e\n\n# Exclude environment settings from the setup\nexclude_env: no\n\n# Exclude apt from the setup\nexclude_apt: no\n\n# Exclude Docker services from the setup\nexclude_docker: no\n\n# Exclude Git (global) from the setup\nexclude_git: no\n```\n\n## Example Playbook\n\nIn this example the Ansible role will setup HTTP Proxy in the system environment, Docker, Giy and exclude APT proxy setup.\n\n```yaml\n---\n- name: Setup Proxy\n  hosts: all\n  user: ansible\n  become: yes\n  vars:\n    - http_proxy: http://1.2.3.4:567\n    - exclude_apt: yes\n  roles:\n    - role: monolithprojects.http_proxy_client\n```\n\nIn this example the Ansible role will setup HTTP/HTTPS/FTP Proxy in the system environment, in APT, Docker service and Git.\n\n```yaml\n---\n---\n- name: Setup Proxy\n  hosts: all\n  user: ansible\n  become: yes\n  vars:\n    - http_proxy: http://1.2.3.4:567\n    - https_proxy: http://1.2.3.4:567\n    - ftp_proxy: http://1.2.3.4:567\n  roles:\n    - role: monolithprojects.http_proxy_client\n```\n\n## License\n\nMIT\n\n## Author Information\n\nCreated in 2020 by Michal Muransky\n","funding_links":["https://github.com/sponsors/monolithprojects"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonolithprojects%2Fansible-http_proxy_client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonolithprojects%2Fansible-http_proxy_client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonolithprojects%2Fansible-http_proxy_client/lists"}