Skip to content

Instantly share code, notes, and snippets.

@evrardjp
Last active May 6, 2016 10:35
Show Gist options
  • Save evrardjp/9e524c099f09db283eccb8f19d82a3a4 to your computer and use it in GitHub Desktop.
Save evrardjp/9e524c099f09db283eccb8f19d82a3a4 to your computer and use it in GitHub Desktop.
Keepalived testing
---
keepalived_sync_groups:
haproxy:
instances:
- internal
keepalived_instances:
internal:
interface: eth0
state: MASTER
virtual_router_id: 11
priority: 100
vips:
- "127.0.1.2 dev eth0"
- hosts: all[0]
vars_files:
- keepalived_config.yml
# pre_tasks:
# - apt:
# update_cache: yes
roles:
- ansible-keepalived
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment