Skip to content

petzah/ansible-keepalived

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-keepalived: Ansible role for setting up keepalived

Dependencies

Works with centos/redhat and Debian/Ubuntu

Example Playbooks

Simple VRRP example playbook:

- hosts: keepalived
  roles:
    - role: ansible-keepalived
      global_defs:
        notification_email:
          - [email protected]
          - [email protected]
        notification_email_from: '[email protected]'
      vrrp_instances:
        - name: 'VI_01'
          state: 'MASTER'
          interface: 'eth0'
          virtual_router_id: 10
          priority: 100
          smtp_alert: True
          authentication:
            auth_type: 'PASS'
            auth_pass: 'secpass'
          virtual_ipaddress:
            - '192.168.200.17/24 dev eth1'
            - '192.168.200.18/24 dev eth2 label eth2:1'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published