-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to set unicast mode #201
Comments
found a way using like that:
Is there anothe way to do that ? |
Hello, It is a bit hard to know without seeing your group vars ;) You can see more details about the implementation in ansible-keepalived/templates/keepalived.conf.j2 Lines 117 to 124 in 0c9625b
It looks like the |
exact. My group is simple:
My vars:
The code I found is working for 2 servers (and i don't need more servers). |
That should work indeed. I am not sure you need to define unicast_src_ip in your case (it depends on your nics). This could simplify a bit. For the unicast_peer, there is probably another way to define the list based on all hostvars access_ip, but this should work, so don't worry :) |
Can we close this? |
Hi,
Is it possible to set a list of unicast peers using this role ? I'm reading the documentation and can not find anything about that.
Thanks.
The text was updated successfully, but these errors were encountered: