{"id":24160568,"url":"https://github.com/simpleweb/ansible-haproxy","last_synced_at":"2026-02-16T05:33:00.349Z","repository":{"id":33088717,"uuid":"36726147","full_name":"simpleweb/ansible-haproxy","owner":"simpleweb","description":"HAProxy role to achieve good level of SSL","archived":false,"fork":false,"pushed_at":"2015-06-03T13:56:42.000Z","size":136,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-07T01:49:54.794Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simpleweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-02T10:37:26.000Z","updated_at":"2017-01-19T16:33:41.000Z","dependencies_parsed_at":"2022-09-12T17:51:22.794Z","dependency_job_id":null,"html_url":"https://github.com/simpleweb/ansible-haproxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simpleweb/ansible-haproxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simpleweb%2Fansible-haproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simpleweb%2Fansible-haproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simpleweb%2Fansible-haproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simpleweb%2Fansible-haproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simpleweb","download_url":"https://codeload.github.com/simpleweb/ansible-haproxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simpleweb%2Fansible-haproxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29500832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T03:57:51.541Z","status":"ssl_error","status_checked_at":"2026-02-16T03:55:59.854Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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-01-12T16:14:36.022Z","updated_at":"2026-02-16T05:33:00.332Z","avatar_url":"https://github.com/simpleweb.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible HAProxy Role for Debian Wheezy\n\nThis role achieves a good level of SSL security as tested by [SSLLabs](http://ssllabs.com/ssltest/).\n\nIn your playbook you need the following variables:\n\n```yaml\napp_name: my-app\nssl_certificate: \u003cfull SSL chain including key\u003e\nhaproxy:\n  backends: \"{{ groups['production'] }}\"\n```\n\n### Added SSL certificate to Vault\n\nThe vault seems to be a good place to securely store your cert. To do this you need to include it using multi-line syntax... this looks like:\n\n```\nssl_certificate: |\n  -----BEGIN CERTIFICATE-----\n  REST OF CERT...\n```\n\n### Limitations\n\nThis role only works with Debian Wheezy for time being.\n\nSSL is forced for all connections.\n\nhaproxy.backends specifies a group in your hosts. This entire group becomes your front-ends and looks for resulting server on eth1 on port specified by backend_port. We use rackspace a lot and eth1 is the internal network.\n\nNginx must be running on port 8080 as the backend.\n\n### Results\n\nIt's worth checking results with SSL labs, but this should achieve A+ rating with good browser support.\n\n![SSL Labs Result](https://tomsstuff.s3.amazonaws.com/aplus.png \"SSL Labs Result\")","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimpleweb%2Fansible-haproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimpleweb%2Fansible-haproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimpleweb%2Fansible-haproxy/lists"}