{"id":19757286,"url":"https://github.com/mach1el/ansible_init_keepalived","last_synced_at":"2025-08-16T21:11:43.525Z","repository":{"id":59075970,"uuid":"535278708","full_name":"mach1el/ansible_init_keepalived","owner":"mach1el","description":"Ansible role to initialize keepalived configuration ","archived":false,"fork":false,"pushed_at":"2022-09-11T14:26:01.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-10T22:44:14.784Z","etag":null,"topics":["ansible","keepalived","keepalived-ansible","keepalived-role"],"latest_commit_sha":null,"homepage":"","language":"Jinja","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/mach1el.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":"2022-09-11T11:36:07.000Z","updated_at":"2022-12-13T09:34:49.000Z","dependencies_parsed_at":"2023-01-18T03:40:22.146Z","dependency_job_id":null,"html_url":"https://github.com/mach1el/ansible_init_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/mach1el%2Fansible_init_keepalived","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mach1el%2Fansible_init_keepalived/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mach1el%2Fansible_init_keepalived/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mach1el%2Fansible_init_keepalived/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mach1el","download_url":"https://codeload.github.com/mach1el/ansible_init_keepalived/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241089119,"owners_count":19907695,"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","keepalived","keepalived-ansible","keepalived-role"],"created_at":"2024-11-12T03:18:52.926Z","updated_at":"2025-02-28T02:21:15.199Z","avatar_url":"https://github.com/mach1el.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible initialize Keepalived\n\n![Version](https://img.shields.io/github/v/release/mach1el/ansible_init_keepalived?color=brown\u0026style=plastic) ![License](https://img.shields.io/github/license/mach1el/ansible_init_keepalived?color=purple\u0026style=plastic)\n\nAnsible role for initialize keepalived configuration,as default it won't enable keepalived on systemd,this role using to generate configuration for docker container [mich43/keepalived](https://github.com/mach1el/docker-keepalived)\n\n## Role tree\n```\n.\n├── defaults\n│   └── main.yml\n├── files\n│   └── 99-non-local-bind.conf\n├── handlers\n│   └── main.yml\n├── LICENSE\n├── meta\n│   └── main.yml\n├── README.md\n├── tasks\n│   ├── add_configuration_file.yml\n│   ├── binding_nonlocal_ip.yml\n│   ├── install_packages.yml\n│   └── main.yml\n├── templates\n│   ├──  keepalived.conf.j2\n│   └──  node.sh.j2\n└── vars\n    └── main.yml\n```\n\n## Default variables\n```\ntcp: true\ncheck_service: true\ndisable_keepalived: true\n\nKA_MASTER: \"10.10.92.170\"\nKA_BACKUP: \"10.10.92.171\"\nKA_SV_PORT_CHECK: 80\nKA_IFACE: \"ens192\"\nKA_ROUTE_ID: \"51\"\nKA_VIP: \"10.10.92.250/24\"\n```\n\n* `tcp`: If true it will check *TCP* port service else it will be *UDP*\n* `check_service`: Tell keepalived to use script \n* `KA_*`: Variables for keepalived configuration\n\n## Playbook\n```\n---\n- name: Init keepalived on MASTER and BACKUP\n  hosts: all\n  roles:\n   - 'mach1el.ansible_init_keepalived'\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmach1el%2Fansible_init_keepalived","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmach1el%2Fansible_init_keepalived","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmach1el%2Fansible_init_keepalived/lists"}