Last active
May 6, 2016 10:35
-
-
Save evrardjp/9e524c099f09db283eccb8f19d82a3a4 to your computer and use it in GitHub Desktop.
Keepalived testing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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