Ansible roles by Evolix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax 9 months ago
..
defaults Add first version of Keepalived role 12 months ago
files Add check_keepalived NRPE script 11 months ago
handlers Add restart nagios-nrpe-server handler 11 months ago
tasks Improve Ansible syntax 9 months ago
templates Add notify parameter for NRPE check 11 months ago
README.md Add first version of Keepalived role 12 months ago

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)