{"id":29702614,"url":"https://github.com/devgateway/ansible-role-squid","last_synced_at":"2026-02-21T10:31:25.433Z","repository":{"id":78413164,"uuid":"115556006","full_name":"devgateway/ansible-role-squid","owner":"devgateway","description":null,"archived":false,"fork":false,"pushed_at":"2017-12-28T05:56:08.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-20T10:42:25.194Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devgateway.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-12-27T20:42:27.000Z","updated_at":"2017-12-28T05:58:48.000Z","dependencies_parsed_at":"2023-03-20T18:06:07.339Z","dependency_job_id":null,"html_url":"https://github.com/devgateway/ansible-role-squid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devgateway/ansible-role-squid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgateway%2Fansible-role-squid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgateway%2Fansible-role-squid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgateway%2Fansible-role-squid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgateway%2Fansible-role-squid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devgateway","download_url":"https://codeload.github.com/devgateway/ansible-role-squid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgateway%2Fansible-role-squid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29679049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T09:33:50.764Z","status":"ssl_error","status_checked_at":"2026-02-21T09:33:19.949Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-07-23T12:39:48.939Z","updated_at":"2026-02-21T10:31:25.427Z","avatar_url":"https://github.com/devgateway.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Squid Proxy\n\nSet up Squid HTTP proxy server.\n\nRole Variables\n--------------\n\n### `squid_acl`\n\nA dictionary where keys are names of ACL rules. Values are dictionaries with two keys: `type` and `args`.\n\n`type` is a string as recognized by Squid, such as *src*, *port*, or *method*.\n\n`args` is a list of argument strings to the said ACL. For example, *src* ACL accepts IP addresses with netmasks, or ranges thereof.\n\n### `squid_http_access`\n\nA dictionary with two keys, *deny* and *allow*, each listing ACLs which, when matched, will trigger respective action. Both arrays represent individual rules. Each rule may be either a single matching condition (string), or multiple ANDed conditions (array of strings).\n\nFor example:\n\n    deny:\n      - \"!safe_ports\"\n      - [ connect_method, \"!ssl_ports\" ]\n\nrenders two rules:\n\n    http_access deny !safe_ports\n    http_access deny connect_method !ssl_ports\n\n### `squid_refresh_patterns`\n\nA list of dictionaries, each describing one pattern. Dictionary keys match arguments for `refresh_pattern` directive:\n\n`refresh_pattern` *`regex`* *`min`* *`lm_factor`* *`max`*\n\n`lm_factor` may be given as an integer with or without percent sign, or as a decimal fraction. For example, all the following are identical:\n\n* 42\n* 42%\n* .42\n* 0.42\n\n### `squid_http_port`, `squid_max_object_size`, and `squid_shutdown_lifetime`\n\nEach variable is copied verbatim into its Squid counterpart, i.e. unit names are required, too.\n\n### `squid_cache_dir`\n\nA dictionary where `type` selects cache format, `path` defines its directory, and `args` configure respective format. Order of `args` members will be preserved.\n\nExample Playbook\n----------------\n\n    - name: Squid\n      hosts: proxy.example.net\n      roles:\n        - squid\n\nLicense\n-------\n\nGPLv3\n\nAuthor Information\n------------------\n\nDevelopment Gateway\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevgateway%2Fansible-role-squid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevgateway%2Fansible-role-squid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevgateway%2Fansible-role-squid/lists"}