{"id":20659473,"url":"https://github.com/ialejandro/ansible-role-haproxy","last_synced_at":"2026-04-22T02:31:21.836Z","repository":{"id":122816715,"uuid":"411708686","full_name":"ialejandro/ansible-role-haproxy","owner":"ialejandro","description":"Ansible Role - HAProxy","archived":false,"fork":false,"pushed_at":"2024-08-06T18:28:10.000Z","size":14,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T01:55:54.377Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/ialejandro.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-29T14:32:06.000Z","updated_at":"2024-08-06T18:28:13.000Z","dependencies_parsed_at":"2024-02-07T09:39:46.853Z","dependency_job_id":"33c6051d-25e2-4305-87bf-02dd19e4d740","html_url":"https://github.com/ialejandro/ansible-role-haproxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ialejandro/ansible-role-haproxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialejandro%2Fansible-role-haproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialejandro%2Fansible-role-haproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialejandro%2Fansible-role-haproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialejandro%2Fansible-role-haproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ialejandro","download_url":"https://codeload.github.com/ialejandro/ansible-role-haproxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialejandro%2Fansible-role-haproxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32118065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":[],"created_at":"2024-11-16T18:34:28.180Z","updated_at":"2026-04-22T02:31:21.819Z","avatar_url":"https://github.com/ialejandro.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Role: HAProxy\n\nInstalls and configures [HAProxy](http://www.haproxy.org/), an open-source high availability load balancer and proxy server.\n\n## Requirements\n\n- Ansible 2.10+\n- Supported platforms:\n  - Amazon Linux\n  - Other platforms might be supported but have not been tested.\n\n## Role Variables\n\nAvailable variables are listed below, along with default values (see `defaults/main.yml` and `vars/main.yml`):\n\n### General\n\n- `haproxy_version`: The version of HAProxy to install.\n  - **Default**: `2.4`\n  - **Example**:\n    ```yaml\n    haproxy_version: 2.4\n    ```\n\n- `haproxy_install_dir`: The directory where HAProxy will be installed.\n  - **Default**: `/etc/haproxy`\n  - **Example**:\n    ```yaml\n    haproxy_install_dir: /etc/haproxy\n    ```\n\n- `haproxy_user`: The user that will run HAProxy.\n  - **Default**: `haproxy`\n  - **Example**:\n    ```yaml\n    haproxy_user: haproxy\n    ```\n\n### Logging\n\n- `haproxy_log_level`: Log level for HAProxy.\n  - **Default**: `info`\n  - **Example**:\n    ```yaml\n    haproxy_log_level: debug\n    ```\n\n### Load Balancing\n\n- `haproxy_balance_algorithm`: The load balancing algorithm.\n  - **Default**: `roundrobin`\n  - **Example**:\n    ```yaml\n    haproxy_balance_algorithm: leastconn\n    ```\n\n## Dependencies\n\nNone.\n\n## Example Playbook\n\n```yaml\n- hosts: all\n  roles:\n    - role: ansible-role-haproxy\n      haproxy_version: \"2.4\"\n      haproxy_user: \"haproxy\"\n      haproxy_balance_algorithm: \"leastconn\"\n```\n\n## License\n\nMIT\n\n## Author Information\n\nThis role was created by [ialejandro](https://github.com/ialejandro).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fialejandro%2Fansible-role-haproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fialejandro%2Fansible-role-haproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fialejandro%2Fansible-role-haproxy/lists"}