{"id":16963430,"url":"https://github.com/leucos/ansible-twemproxy","last_synced_at":"2026-04-13T22:02:50.371Z","repository":{"id":136626364,"uuid":"60912665","full_name":"leucos/ansible-twemproxy","owner":"leucos","description":"Twemproxy role for ubuntu 16.04","archived":false,"fork":false,"pushed_at":"2016-06-20T08:33:52.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T16:30:00.356Z","etag":null,"topics":["ansible-role","twemproxy"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/leucos.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}},"created_at":"2016-06-11T15:07:18.000Z","updated_at":"2018-07-04T16:59:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"c41053e8-4462-4fa6-ac67-d6dd781573cf","html_url":"https://github.com/leucos/ansible-twemproxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leucos/ansible-twemproxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leucos%2Fansible-twemproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leucos%2Fansible-twemproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leucos%2Fansible-twemproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leucos%2Fansible-twemproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leucos","download_url":"https://codeload.github.com/leucos/ansible-twemproxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leucos%2Fansible-twemproxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31772642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: 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":["ansible-role","twemproxy"],"created_at":"2024-10-13T23:24:51.726Z","updated_at":"2026-04-13T22:02:50.355Z","avatar_url":"https://github.com/leucos.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"ansible-twemproxy role\n======================\n\nTested on 16.04\n\n# Usage\n\n# Variables\n\nAll variables can be found at twemproxy documentation.\n\n- `twemproxy_mbuf_size`: 16384\n- `twemproxy_output`: /var/log/twemproxy.log\n- `twemproxy_stats_port`: 22221\n- `twemproxy_stats_addr`: 127.0.0.1\n- `twemproxy_stats_interval`: 30000 # msecs\n\n# Pools\n\nPools are defined the same way it is in the twemproxy yaml structure, except for the server part.\n\nThe server key pust contain an ansible group, a port and a network interface.\nServers will be created from this information: all servers for the group will\nbe added in the pool with the IP address corresponding to the designated\ninterface, and on the configured port.\n\nWeight can not be currently changed.\n\nExample:\n\n```yaml\ntwemproxy_pools:\n  redis:\n    listen: 127.0.0.1:6379\n    hash: fnv1a_64\n    distribution: ketama\n    auto_eject_hosts: \"true\"\n    redis: \"true\"\n    server_retry_timeout: 30000\n    server_failure_limit: 1\n    servers:\n      group: redis\n      port: \"{{ redis_port }}\"\n      interface: \"{{ redis_interface }}\"\n```\n\n\n\nMichel Blanc \u003cmb@mbnet.fr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleucos%2Fansible-twemproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleucos%2Fansible-twemproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleucos%2Fansible-twemproxy/lists"}