{"id":21400264,"url":"https://github.com/oefenweb/ansible-tinyproxy","last_synced_at":"2025-07-13T21:31:13.571Z","repository":{"id":51294521,"uuid":"131971602","full_name":"Oefenweb/ansible-tinyproxy","owner":"Oefenweb","description":"Ansible role to set up tinyproxy in Debian-like systems","archived":false,"fork":false,"pushed_at":"2023-11-02T11:07:41.000Z","size":70,"stargazers_count":9,"open_issues_count":2,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-11-02T11:37:47.661Z","etag":null,"topics":["ansible","debian","proxy","tinyproxy","ubuntu"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/Oefenweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-05-03T09:21:23.000Z","updated_at":"2023-09-03T18:03:27.000Z","dependencies_parsed_at":"2023-02-08T19:15:39.202Z","dependency_job_id":"432330f9-9f1e-4baf-a0d8-56f81dd2a591","html_url":"https://github.com/Oefenweb/ansible-tinyproxy","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-tinyproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-tinyproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-tinyproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-tinyproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oefenweb","download_url":"https://codeload.github.com/Oefenweb/ansible-tinyproxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225917691,"owners_count":17544934,"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","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":["ansible","debian","proxy","tinyproxy","ubuntu"],"created_at":"2024-11-22T15:20:26.564Z","updated_at":"2024-11-22T15:20:27.171Z","avatar_url":"https://github.com/Oefenweb.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## tinyproxy\n\n[![CI](https://github.com/Oefenweb/ansible-tinyproxy/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-tinyproxy/actions?query=workflow%3ACI)\n[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-tinyproxy-blue.svg)](https://galaxy.ansible.com/Oefenweb/tinyproxy)\n\nSet up [tinyproxy](https://tinyproxy.github.io/) in Debian-like systems.\n\n#### Requirements\n\nNone\n\n#### Variables\n\n* `tinyproxy_install`: [default: `[]`]: Additional packages to install\n\n* `tinyproxy_tinyproxy_conf`: [see: `defaults/main.yml`]: List of lines to be added to `/etc/tinyproxy.conf`\n\n* `tinyproxy_port`: [default: `8888`]: The port which tinyproxy will listen on\n* `tinyproxy_allow`: [default: `[\"{{ ansible_lo['ipv4']['address'] }}\"]`]: Customization of authorization controls. If there are any access controls then the default action is to `DENY`. Otherwise, the default action is `ALLOW`. The order of the controls are important\n* `tinyproxy_connect_port`: [default: `[443, 563]`]: This is a list of ports allowed when the `CONNECT` method is used. To disable the `CONNECT` method altogether, set the value to `0`.  If no item is found, all ports are allowed\n\n#### Dependencies\n\nNone\n\n#### Example\n\n##### Simple\n\n```yaml\n---\n- hosts: all\n  roles:\n    - oefenweb.tinyproxy\n```\n\n##### Advance\n\n```yaml\n---\n- hosts: all\n  roles:\n    - oefenweb.tinyproxy\n  vars:\n    tinyproxy_tinyproxy_conf:\n      - |\n        User nobody\n        Group nogroup\n        Port {{ tinyproxy_port }}\n        Timeout 666\n        DefaultErrorFile \"/usr/share/tinyproxy/default.html\"\n        StatFile \"/usr/share/tinyproxy/stats.html\"\n        Logfile \"/var/log/tinyproxy/tinyproxy.log\"\n        LogLevel Info\n        PidFile \"/var/run/tinyproxy/tinyproxy.pid\"\n        MaxClients 100\n        MinSpareServers 5\n        MaxSpareServers 20\n        StartServers 10\n        MaxRequestsPerChild 0\n        {% for allow in tinyproxy_allow %}\n        Allow {{ allow }}\n        {% endfor %}\n        ViaProxyName \"tinyproxy\"\n        {% for connect_port in tinyproxy_connect_port %}\n        ConnectPort {{ connect_port }}\n        {% endfor %}\n    tinyproxy_port: 3128\n    tinyproxy_allow:\n      - \"{{ ansible_lo['ipv4']['address'] }}\"\n      - \"{{ ansible_default_ipv4['address'] }}\"\n```\n\n#### License\n\nMIT\n\n#### Author Information\n\nMischa ter Smitten\n\n#### Feedback, bug-reports, requests, ...\n\nAre [welcome](https://github.com/Oefenweb/ansible-tinyproxy/issues)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fansible-tinyproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foefenweb%2Fansible-tinyproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fansible-tinyproxy/lists"}