ansible-roles/keepalived
Jérémy Lecour 00fe225a3c
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2615|7|2608|177|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/278//ansiblelint">Evolix » ansible-roles » unstable #278</a> Details
gitea/ansible-roles/pipeline/head This commit looks good Details
force: [yes,no] → force [true,false]
2023-06-28 13:25:30 +02:00
..
defaults Add first version of Keepalived role 2021-02-11 17:32:23 +01:00
files keepalived: Make sure state file is readable 2023-01-18 16:49:28 +01:00
handlers Use FQCN 2023-03-20 23:33:19 +01:00
tasks force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
templates Add notify parameter for NRPE check 2021-02-16 11:39:52 +01:00
README.md Add first version of Keepalived role 2021-02-11 17:32:23 +01:00

README.md

keepalived

Install Keepalived

Tasks

Everything is in the tasks/main.yml file.

Available variables

  • keepalived_interface : Interface used by vrrpd instance (default is the interface reported by ansible_default_ipv4.interface)
  • keepalived_role : This can be either master or backup (default: master)
  • keepalived_router_id : Number between 0 and 255 used to differentiate multiple instances of vrrpd (default: 42)
  • keepalived_priority : Used for electing MASTER, highest priority wins (default : 100 when keepalived_role is set to master otherwise 50)
  • keepalived_ip : Address added or deleted on change to MASTER/BACKUP. This is mandatory (default: none)
  • keepalived_password : Password for accessing vrrpd. Should be the same on all machines. This is mandatory (default: none)