{"id":16612128,"url":"https://github.com/shufo/ansible-haproxy-keepalived","last_synced_at":"2025-03-21T14:31:08.316Z","repository":{"id":22909871,"uuid":"26258602","full_name":"shufo/ansible-haproxy-keepalived","owner":"shufo","description":"A playbook building high availability Load Balancer with HAProxy and keepalived.","archived":false,"fork":false,"pushed_at":"2023-12-15T20:30:19.000Z","size":8,"stargazers_count":41,"open_issues_count":2,"forks_count":22,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T11:11:29.624Z","etag":null,"topics":["ansible","haproxy","keepalived"],"latest_commit_sha":null,"homepage":"","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/shufo.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":"2014-11-06T07:16:51.000Z","updated_at":"2025-01-18T08:14:07.000Z","dependencies_parsed_at":"2024-10-28T10:29:59.491Z","dependency_job_id":"de68b9f3-88da-421f-a933-ee13816ec10e","html_url":"https://github.com/shufo/ansible-haproxy-keepalived","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shufo%2Fansible-haproxy-keepalived","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shufo%2Fansible-haproxy-keepalived/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shufo%2Fansible-haproxy-keepalived/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shufo%2Fansible-haproxy-keepalived/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shufo","download_url":"https://codeload.github.com/shufo/ansible-haproxy-keepalived/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244141444,"owners_count":20404837,"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","haproxy","keepalived"],"created_at":"2024-10-12T01:41:10.471Z","updated_at":"2025-03-21T14:31:08.049Z","avatar_url":"https://github.com/shufo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"ansible-haproxy-keepalived\n==========================\n\nA playbook building high availability Load Balancer with HAProxy and keepalived.\n\n## Requirements\n\n- [VirtualBox](https://www.virtualbox.org/wiki/Downloads). Tested on 4.3.x.\n- [Vagrant](http://www.vagrantup.com/downloads.html). Tested on 1.6.3\n- [Ansible](http://docs.ansible.com/intro_installation.html). Tested on 1.7.1 \n\n## Overview\n\nIt will install high availability Load Balancer with HAProxy and keepalived.\nYou can customize it by edit vars file.\nTested on Ubuntu 14.04 Trusty and CentOS 6.5.\n\n## Usage\n\n- Edit vars/main.yml\n\n- Test on Vagrant virtual machine(Requires Ansible).\n\n```bash\n$ vagrant up\n```\n\n- Install to remote server.\n\nEdit `ansible_hosts`.\n\n```\ndefault ansible_ssh_host=xxx.xxx.xxx.xxx ansible_ssh_port=22\n```\n\nRun playbook.\n\n```bash\nansible-playbook site.yml -i ansible_hosts\n```\n\n## vars\n\n```vars/main.yml\nhaproxy_user: haproxy\nhaproxy_major_version: 1.5\nhaproxy_minor_version: 8\nhaproxy_download_url: \"http://www.haproxy.org/download/{{ haproxy_major_version }}/src/haproxy-{{ haproxy_major_version }}.{{ haproxy_minor_version }}.tar.gz\"\nhaproxy_src_dir: /tmp\nhaproxy_make_option: TARGET=linux2628 CPU=x86_64 USE_OPENSSL=1 USE_ZLIB=1 USE_PCRE=1\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshufo%2Fansible-haproxy-keepalived","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshufo%2Fansible-haproxy-keepalived","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshufo%2Fansible-haproxy-keepalived/lists"}